Esempio n. 1
0
 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");
 }
Esempio n. 2
0
 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");
 }
Esempio n. 3
0
 function do_fileManager()
 {
     $res = iPHP::folder(iCMS::$config['FS']['dir']);
     $res['public_url'] = iCMS_PUBLIC_URL;
     iPHP::json($res);
 }
Esempio n. 4
0
 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");
 }