From: Roland Häder Date: Tue, 23 Dec 2008 01:27:40 +0000 (+0000) Subject: General directory structure added for debug extension X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=1e6d7b906ac9481fc5120d7a1a5e6a4d7a509296;ds=inline General directory structure added for debug extension --- diff --git a/.gitattributes b/.gitattributes index c0c87f725c..67b6872cff 100644 --- a/.gitattributes +++ b/.gitattributes @@ -93,6 +93,11 @@ inc/databases.php -text inc/db/.htaccess -text inc/db/lib-mysql3.php -text inc/db/lib.php -text +inc/debug/.htaccess -text +inc/debug/client/.htaccess -text +inc/debug/relay/.htaccess -text +inc/debug/request_ -text +inc/debug/server/.htaccess -text inc/doubler_send.php -text inc/extensions.php -text inc/extensions/.htaccess -text diff --git a/debug.php b/debug.php index dd213e44f9..0d6150cadb 100644 --- a/debug.php +++ b/debug.php @@ -1,7 +1,7 @@ diff --git a/inc/debug/server/.htaccess b/inc/debug/server/.htaccess new file mode 100644 index 0000000000..14249c50bd --- /dev/null +++ b/inc/debug/server/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/inc/extensions/ext-debug.php b/inc/extensions/ext-debug.php index 193ae3200c..886c135548 100644 --- a/inc/extensions/ext-debug.php +++ b/inc/extensions/ext-debug.php @@ -130,6 +130,7 @@ PRIMARY KEY (`id`) $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `debug_new_log` ENUM('ACCEPT','FIRST','REG') NOT NULL DEFAULT 'FIRST'"; $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `debug_new_client` ENUM('ACTIVE','NEW','REG') NOT NULL DEFAULT 'NEW'"; $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `debug_reject_log` BIGINT(20) UNSIGNED NOT NULL DEFAULT ".(getConfig('one_day') * 30).""; + $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `debug_master_url` VARCHAR(255) NOT NULL DEFAULT '{!SERVER_URL!}'"; break; case "remove": // Do stuff when removing extension