cvs: phpweb / mirror-info.php

[email protected] ("Hannes Magnusson")
Newsgroups php.webmaster
Message-ID <cvsbjori1228467699@cvsserver>
bjori		Fri Dec  5 09:01:39 2008 UTC

  Modified files:              
    /phpweb	mirror-info.php 
  Log:
  Return the error, not dump it
  
  
http://cvs.php.net/viewvc.cgi/phpweb/mirror-info.php?r1=1.26&r2=1.27&diff_format=u
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.26 phpweb/mirror-info.php:1.27
--- phpweb/mirror-info.php:1.26	Sun Jun  8 19:46:14 2008
+++ phpweb/mirror-info.php	Fri Dec  5 09:01:39 2008
@@ -1,5 +1,5 @@
 <?php
-// $Id: mirror-info.php,v 1.26 2008/06/08 19:46:14 bjori Exp $
+// $Id: mirror-info.php,v 1.27 2008/12/05 09:01:39 bjori Exp $
 
 // Define $MYSITE and $LAST_UPDATED variables
 include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -65,7 +65,7 @@
 		return array(
 			"name" => "Header weirdness. Pages named '.html.php' are returning wrong status headers",
 			"see"  => $MYSITE . "mirroring-troubles.php#content-type",
-			"got"  => var_export($ctype),
+			"got"  => var_export($ctype, true),
 		);
 	}
 
@@ -77,7 +77,7 @@
 		return array(
 			"name" => "MultiViews on",
 			"see"  => $MYSITE . "mirroring-troubles.php#multiviews",
-			"got"  => var_export($ctype),
+			"got"  => var_export($ctype, true),
 		);
 	}
 
@@ -87,7 +87,7 @@
 		return array(
 			"name" => "Var Handler",
 			"see"  => $MYSITE . "mirroring-troubles.php#var",
-			"got"  => var_export($header),
+			"got"  => var_export($header, true),
 		);
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.