From 88663c22f9978f184f9227f5bec0c956df89b49a Mon Sep 17 00:00:00 2001 From: fidian Date: Thu, 26 Apr 2001 13:25:03 +0000 Subject: [PATCH] * Avoid parsing errors with config.php by removing the ?> at the end git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1305 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 1 - config/config_default.php | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/conf.pl b/config/conf.pl index 340caec4..cc066358 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1679,7 +1679,6 @@ sub save_data { print FILE "\tglobal \$motd;\n"; print FILE "\t\$motd = \"$motd\";\n"; - print FILE "?>\n"; close FILE; } diff --git a/config/config_default.php b/config/config_default.php index 70500cba..c8fecd83 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -320,5 +320,7 @@ global $ldap_server; // For instance, for the "sqclock" plugin, you'd put a line like // the following: // $plugins[0] = "sqclock"; + // $plugins[1] = "attachment_common"; -?> +// Do not add the closing PHP tag here just because we want to avoid +// the potential for parsing errors if there is a newline added -- 2.25.1