Вход Регистрация
Файл: concrete5.7.5.6/concrete/tools/dashboard/attribute_set_order_update.php
Строк: 12
<?php
defined
('C5_EXECUTE') or die("Access Denied.");
$canRead false;
use 
ConcreteCoreAttributeKeyCategory as AttributeKeyCategory;

$ch Page::getByPath('/dashboard/settings/attributes/sets');
$cp = new Permissions($ch);
if (
$cp->canViewPage()) {
    
$canRead true;
}

if (!
$canRead) {
    die(
t("Access Denied."));
}

$db Loader::db();
$akc AttributeKeyCategory::getByID($_POST['categoryID']);
$uats $_REQUEST['asID'];

if (
is_array($uats)) {
    
$akc->updateAttributeSetDisplayOrder($uats);
}
Онлайн: 0
Реклама