SF.net SVN: phpwiki:[11164] trunk/configurator.php

carstenklapp--- via phpwiki-checkins <[email protected]> Thu, 27 Feb 2025 22:17:48 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 11164
          http://sourceforge.net/p/phpwiki/code/11164
Author:   carstenklapp
Date:     2025-02-27 22:17:48 +0000 (Thu, 27 Feb 2025)
Log Message:
-----------
Fixed my lazy coding

Modified Paths:
--------------
    trunk/configurator.php

Modified: trunk/configurator.php
===================================================================
--- trunk/configurator.php	2025-02-23 22:47:52 UTC (rev 11163)
+++ trunk/configurator.php	2025-02-27 22:17:48 UTC (rev 11164)
@@ -1760,7 +1760,7 @@
         $this->description = $description;
         if (defined($config_item_name)
             and !preg_match("/(selection|boolean)/", get_class($this))
-                and !preg_match("/^(SCRIPT_NAME|VIRTUAL_PATH|zTEMP_DIR)$/", $config_item_name)
+                and !preg_match("/^(SCRIPT_NAME|VIRTUAL_PATH)$/", $config_item_name)
         ) {
             $this->default_value = constant($config_item_name);
         } // ignore given default value
@@ -2066,7 +2066,7 @@
         $this->description = $description;
         if (defined($config_item_name)
             and !preg_match("/(selection|boolean)/", get_class($this))
-                and !preg_match("/^(SCRIPT_NAME|VIRTUAL_PATH|zTEMP_DIR)$/", $config_item_name)
+                and !preg_match("/^(SCRIPT_NAME|VIRTUAL_PATH)$/", $config_item_name)
         ) {
             $this->default_value = constant($config_item_name);
         } // ignore given default value

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.