diff --git a/demo.php b/demo.php index 356924db0e..374f96b5ba 100644 --- a/demo.php +++ b/demo.php @@ -1,6 +1,6 @@ php_library_path . "screen_size_library.php"; require $xerte_toolkits_site->php_library_path . "template_status.php"; @@ -18,7 +18,6 @@ require_once(dirname(__FILE__) . '/modules/xerte/module_functions.php'); /** - * * Function update_access_time * This function updates the time a template was last edited * @param array $row_edit = an array returned from a mysql query @@ -26,11 +25,8 @@ * @version 1.0 * @author Patrick Lockley */ - function update_access_time($row_edit){ - global $xerte_toolkits_site; - return db_query("UPDATE {$xerte_toolkits_site->database_table_prefix}templatedetails SET date_accessed=? WHERE template_id = ?", array(date('Y-m-d'), $row_edit['template_id'])); } diff --git a/example.php b/example.php index 1b9e3cb5a7..e0eab31483 100644 --- a/example.php +++ b/example.php @@ -9,7 +9,7 @@ * @package */ -require_once("config.php"); +require_once(dirname(__FILE__) . "/config.php"); require $xerte_toolkits_site->php_library_path . "screen_size_library.php"; require $xerte_toolkits_site->php_library_path . "template_status.php"; diff --git a/folderproperties.php b/folderproperties.php index ef3399d269..881d6ba9c5 100644 --- a/folderproperties.php +++ b/folderproperties.php @@ -1,7 +1,7 @@ - @@ -44,93 +44,93 @@