require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); $filemanPerms = $GLOBALS["APPLICATION"]->GetGroupRight("fileman"); if ($filemanPerms > "D"): /**********************************************************************************/ $selfPath = str_replace("\\", "/", __FILE__); $uofRootPath = substr($selfPath, 0, strlen($selfPath) - strlen("/get_folders.php")); require_once($uofRootPath."/options.php"); ?>
/**********************************************************************************/ else: /**********************************************************************************/ ?>