]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-usage.php
Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / modules / admin / what-usage.php
index f211bde553b183cea2eb3b8fd52bc1e6c13235a1..e347f4d00542efa269983a688b211a3dc2db9bdd 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Automatische Erkennung der Aufrufstatistiken     *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -54,8 +59,8 @@ if (REQUEST_ISSET_GET(('image'))) {
                $FQFN = sprintf("%s%s/%s_usage_%s.png",
                        constant('PATH'),
                        getConfig('usage_base'),
-                       SQL_ESCAPE(REQUEST_GET('type')),
-                       SQL_ESCAPE(REQUEST_GET('image'))
+                       REQUEST_GET(('type')),
+                       REQUEST_GET(('image'))
                );
        }
 
@@ -65,7 +70,7 @@ if (REQUEST_ISSET_GET(('image'))) {
                imagepng($image);
                imagedestroy($image);
        }
-       exit();
+       shutdown();
 } elseif (!REQUEST_ISSET_GET(('usage'))) {
        $FQFN = sprintf("%s%s/index.html",
                constant('PATH'),
@@ -75,7 +80,7 @@ if (REQUEST_ISSET_GET(('image'))) {
        $FQFN = sprintf("%s%s/usage_%s.html",
                constant('PATH'),
                getConfig('usage_base'),
-               SQL_ESCAPE(REQUEST_GET('usage'))
+               REQUEST_GET(('usage'))
        );
 }
 
@@ -111,7 +116,7 @@ if ((!empty($FQFN)) && (FILE_READABLE($FQFN))) {
 </div>");
 } else {
        // Nothing to load, then we have no directory "usage"
-       LOAD_TEMPLATE("admin_settings_saved", false, sprintf(ADMIN_USAGE_DIRECTORY_404, getConfig('usage_base')));
+       LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('ADMIN_USAGE_DIRECTORY_404'), getConfig('usage_base')));
 }
 
 //