diff options
Diffstat (limited to 'admin/purgecache.php')
-rw-r--r-- | admin/purgecache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/purgecache.php b/admin/purgecache.php index 8657938..23a5712 100644 --- a/admin/purgecache.php +++ b/admin/purgecache.php @@ -1,10 +1,10 @@ <?php require_once __DIR__.'/../app/app.php'; -require_once dirname(__FILE__).'/inc/auth.inc.php'; +require_once __DIR__.'/inc/auth.inc.php'; if (isset($_POST['purge'])){ - $dir = dirname(__FILE__).'/../cache/'; + $dir = __DIR__.'/../cache/'; $dh = opendir($dir); |