From 3822eb59383b1e5c593df466c03cf0a188628ad2 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Thu, 10 Jan 2008 03:25:00 +0000 Subject: [PATCH] Fixed Cache directory write-check. Minor interface cleanup and Xhtml fix. --- e107_admin/cache.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/e107_admin/cache.php b/e107_admin/cache.php index 15e1e320d..7a4748b36 100644 --- a/e107_admin/cache.php +++ b/e107_admin/cache.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/cache.php,v $ -| $Revision: 1.2 $ -| $Date: 2007-02-04 17:36:16 $ -| $Author: mcfly_e107 $ +| $Revision: 1.3 $ +| $Date: 2008-01-10 03:25:00 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ require_once("../class2.php"); @@ -30,9 +30,9 @@ if ($pref['cachestatus'] == '2') { save_prefs(); } -if(!is_writable(e_BASE.$FILES_DIRECTORY.'cache/')) +if(!is_writable(e_CACHE)) { - $ns->tablerender(CACLAN_3, CACLAN_10); + $ns->tablerender(CACLAN_3, CACLAN_10."
(".$CACHE_DIRECTORY.")"); require_once("footer.php"); exit; } @@ -74,34 +74,34 @@ $text = "
- + - - - + + - - + + -
".CACLAN_1."".CACLAN_1."
".CACLAN_11.":
".CACLAN_13."

{$nonsys_count}
+ ".CACLAN_11.":
".CACLAN_13."

{$nonsys_count}
".LAN_ENABLED."   ".LAN_DISABLED."   - +
".CACLAN_12.":
".CACLAN_14."

{$sys_count}
+ ".CACLAN_12.":
".CACLAN_14."

{$sys_count}
".LAN_ENABLED."   ".LAN_DISABLED."   - + +
-
- - +
+