Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / modules / admin / what-usage.php
index bd1a7e0378db7f35c3d1bf29b8d66abc094c1b17..0f77c2730caa11d760d009ed4137b582a30540f8 100644 (file)
@@ -51,16 +51,16 @@ $usage = getConfig('usage_base') . '/';
 if (REQUEST_ISSET_GET(('image'))) {
        if (REQUEST_GET('type') == 'usage') {
                $FQFN = sprintf("%s%s/usage.png",
-                       constant('PATH'),
-                       getConfig('usage_base')
+               constant('PATH'),
+               getConfig('usage_base')
                );
        } else {
                if (strpos(REQUEST_GET('image'), "\\") > 0) REQUEST_SET_GET('image', substr(REQUEST_GET('image'), 0, strpos(REQUEST_GET('image'), "\\")));
                $FQFN = sprintf("%s%s/%s_usage_%s.png",
-                       constant('PATH'),
-                       getConfig('usage_base'),
-                       REQUEST_GET(('type')),
-                       REQUEST_GET(('image'))
+               constant('PATH'),
+               getConfig('usage_base'),
+               REQUEST_GET(('type')),
+               REQUEST_GET(('image'))
                );
        }
 
@@ -73,14 +73,14 @@ if (REQUEST_ISSET_GET(('image'))) {
        shutdown();
 } elseif (!REQUEST_ISSET_GET(('usage'))) {
        $FQFN = sprintf("%s%s/index.html",
-               constant('PATH'),
-               getConfig('usage_base')
+       constant('PATH'),
+       getConfig('usage_base')
        );
 } else {
        $FQFN = sprintf("%s%s/usage_%s.html",
-               constant('PATH'),
-               getConfig('usage_base'),
-               REQUEST_GET(('usage'))
+       constant('PATH'),
+       getConfig('usage_base'),
+       REQUEST_GET(('usage'))
        );
 }