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 = "