diff --git a/banner.php b/banner.php index f4c67b1ddb..3e36577e22 100644 --- a/banner.php +++ b/banner.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2013 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/banner.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ require_once("class2.php"); diff --git a/e107_admin/fileinspector.php b/e107_admin/fileinspector.php index a7182f8458..092ac40faa 100644 --- a/e107_admin/fileinspector.php +++ b/e107_admin/fileinspector.php @@ -1,21 +1,14 @@ debug = FALSE; -require_once(e_HANDLER.'form_handler.php'); +//require_once(e_HANDLER.'form_handler.php'); $DOCS_DIRECTORY = $HELP_DIRECTORY; // Give a sensible, albeit probably invalid, value if (substr($HELP_DIRECTORY,-5,5) == 'help/') { @@ -46,7 +39,7 @@ require_once('core_image.php'); -$rs = new form; +//$rs = new form; set_time_limit(18000); $e_sub_cat = 'fileinspector'; @@ -921,7 +914,8 @@ function create_image($dir) { function snapshot_interface() { - global $ns, $rs; + $ns = e107::getRender(); + $frm = e107::getRender(); $text = ""; if (isset($_POST['create_snapshot'])) @@ -940,7 +934,7 @@ function snapshot_interface()