View Issue Details

IDProjectCategoryView StatusLast Update
0002591phplist applicationAll Otherpublic18-02-05 16:41
ReporterDamienMcKenna 
PriorityimmediateSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
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.

Relationships

child of 0002456 resolvedmichiel PHPList v2.9.4 release 

Activities

DamienMcKenna

15-02-05 04:30

manager   ~0003495

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

DamienMcKenna

15-02-05 04:32

manager   ~0003496

Waiting for code to be added to CVS.