function do_recover() { $res = iPHP::folder('cache/backup', array('sql')); $dirRs = $res['DirArray']; $fileRs = $res['FileArray']; $pwd = $res['pwd']; $parent = $res['parent']; $URI = $res['URI']; include iACP::view("database.recover"); }
function do_iCMS() { $res = iPHP::folder('template', array('htm', 'css', 'js', 'png', 'jpg', 'gif')); $dirRs = $res['DirArray']; $fileRs = $res['FileArray']; $pwd = $res['pwd']; $parent = $res['parent']; $URI = $res['URI']; $navbar = true; $file_edit = true; include iACP::view("files.explorer"); }
function do_fileManager() { $res = iPHP::folder(iCMS::$config['FS']['dir']); $res['public_url'] = iCMS_PUBLIC_URL; iPHP::json($res); }
function explorer($dir = NULL, $type = NULL) { iACP::MP('FILE.BROWSE', 'page'); $res = iPHP::folder($dir, $type); $dirRs = $res['DirArray']; $fileRs = $res['FileArray']; $pwd = $res['pwd']; $parent = $res['parent']; $URI = $res['URI']; $navbar = false; include iACP::view("files.explorer"); }