Constant PATH rewritten, some parts rewritten to use INCLUDE_READABLE()
[mailer.git] / inc / modules / admin / overview-inc.php
index 2ffdeee1f7d3c2b72692c2cd84957ede3b35d330..85d37c9740751a0548e819755567f7d3c44221f8 100644 (file)
@@ -49,7 +49,7 @@ function OUTPUT_STANDARD_OVERVIEW(&$result_tasks) {
        $JOBS_DONE = true;
 
        // Open the extension directory
-       $handle = opendir(PATH."inc/extensions/") or mxchange_die("Cannot read extension directory!");
+       $handle = opendir(constant('PATH')."inc/extensions/") or mxchange_die("Cannot read extension directory!");
        while ($file = readdir($handle)) {
                // Is this file an extension?
                if ((substr($file, 0, 4) == "ext-") && (substr($file, -4) == ".php")) {