All, except security block, include()/require() rewritten to own LOAD_INC()/LOAD_INC_...
[mailer.git] / inc / modules / admin / what-logs.php
index a4ab2a11677a368f0f2deb8cc697a4eec34217b8..648fa3a67b52b484c136c63202df1deb40a9dd50 100644 (file)
@@ -43,7 +43,7 @@ ADD_DESCR("admin", __FILE__);
 if (!empty($_GET['access'])) {
        // Secure input and construct FQFN
        $access = SQL_ESCAPE(strip_tags($_GET['access']));
-       $target = sprintf("%slogs/%s", PATH, $access);
+       $target = sprintf("%slogs/%s", constant('PATH'), $access);
 
        // Is the file valid and readable?
        if (FILE_READABLE($target)) {