]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_extensions.php
Now debug_report_bug() will be called if ext_name or ext_ver is empty which should...
[mailer.git] / inc / modules / admin / what-config_extensions.php
index cbf4c40a50a41bab923385073a704a8ba3877b2d..bd1d4e2605f8f275520679cfa9b0b762b3698dd4 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Konfiguration des Erweiterungs-Management        *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
 if (IS_FORM_SENT()) {
        // Save configuration
@@ -51,14 +51,14 @@ if (IS_FORM_SENT()) {
 } else {
        // Prepare data
        switch (getConfig('verbose_sql')) {
-               case "Y":
-                       define('__VERBOSE_Y', " checked=\"checked\"");
-                       define('__VERBOSE_N', "");
+               case 'Y':
+                       define('__VERBOSE_Y', ' checked="checked"');
+                       define('__VERBOSE_N', '');
                        break;
 
-               case "N":
-                       define('__VERBOSE_Y', "");
-                       define('__VERBOSE_N', " checked=\"checked\"");
+               case 'N':
+                       define('__VERBOSE_Y', '');
+                       define('__VERBOSE_N', ' checked="checked"');
                        break;
        }