phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002591phplist applicationAll Otherpublic15-02-05 04:1818-02-05 16:41
ReporterDamienMcKenna 
PriorityimmediateSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.9.3 
Target VersionFixed in Version2.9.4 
Summary0002591: Remove HTML comments from index.php
DescriptionRemove the HTML comments from index.php as they throw IE6 into quirks mode. They are also unnecessary. See http://www.phplist.com/forums/viewtopic.php?t=2327 [^] for more details.
TagsNo tags attached.
Attached Files

- Relationships
child of 0002456resolvedmichiel PHPList v2.9.4 release 

-  Notes
(0003495)
DamienMcKenna (manager)
15-02-05 04:30

Remove the following marked lines from public_html/lists/index.php:

<?php
ob_start();
$er = error_reporting(0); # some ppl have warnings on
if (isset($_SERVER["ConfigFile"]) && is_file($_SERVER["ConfigFile"])) {
**REMOVE** print '<!-- using '.$_SERVER["ConfigFile"].'-->'."\n";
  include $_SERVER["ConfigFile"];
} elseif (isset($_ENV["CONFIG"]) && is_file($_ENV["CONFIG"])) {
**REMOVE** print '<!-- using '.$_ENV["CONFIG"].'-->'."\n";
  include $_ENV["CONFIG"];
} elseif (is_file("config/config.php")) {
**REMOVE** print '<!-- using config/config.php -->'."\n";
  include "config/config.php";

Damien
(0003496)
DamienMcKenna (manager)
15-02-05 04:32

Waiting for code to be added to CVS.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker