THE SOFTWARE. */ include_once dirname(__FILE__) . '/config.php'; $arr = (require dirname(__FILE__) . '/../../../../../../../../../config/ckedit.php'); PGRFileManagerConfig::$rootPath = $arr['rootPath']; PGRFileManagerConfig::$urlPath = $arr['urlPath']; PGRFileManagerConfig::$fileMaxSize = $arr['fileMaxSize']; PGRFileManagerConfig::$allowedExtensions = $arr['allowedExtensions']; PGRFileManagerConfig::$imagesExtensions = $arr['imagesExtensions']; PGRFileManagerConfig::$imageMaxHeight = $arr['imageMaxHeight']; PGRFileManagerConfig::$imageMaxWidth = $arr['imageMaxWidth']; PGRFileManagerConfig::$allowEdit = $arr['allowEdit']; PGRFileManagerConfig::$authorize = $arr['authorize']; PGRFileManagerConfig::$authorizeUser = $arr['authorizeUser']; PGRFileManagerConfig::$authorizePass = $arr['authorizePass']; PGRFileManagerConfig::$rootDir = PGRFileManagerConfig::$rootPath; //Lang if (isset($_GET['langCode'])) { $PGRLang = $_GET['langCode']; } else { $PGRLang = 'en'; } include_once dirname(__FILE__) . '/auth.php'; $PGRUploaderDescription = 'all files'; //For fckeditor if (isset($_GET['type'])) { $type = $_GET['type']; if ($type === 'Image') { PGRFileManagerConfig::$allowedExtensions = PGRFileManagerConfig::$imagesExtensions; $PGRUploaderDescription = 'images'; } else {