cvs: pearweb /public_html source.php
| From: | Martin Jansen | Date: | Wed, 15 Aug 2001 12:56:53 +0000 |
| Subject: | cvs: pearweb /public_html source.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-525@lists.php.net to get a copy of this message | ||
mj Wed Aug 15 08:56:53 2001 EDT
Modified files:
/pearweb/public_html source.php
Log:
* Remove warning in E_ALL
Index: pearweb/public_html/source.php
diff -u pearweb/public_html/source.php:1.2 pearweb/public_html/source.php:1.3
--- pearweb/public_html/source.php:1.2 Sat May 12 07:13:29 2001
+++ pearweb/public_html/source.php Wed Aug 15 08:56:53 2001
@@ -1,4 +1,5 @@
<?php
+// $Id: source.php,v 1.3 2001/08/15 12:56:53 mj Exp $
$SIDEBAR_DATA='
<P>
The syntax highlighted source is automatically generated by PHP from
@@ -33,7 +34,7 @@
"/stats" => 1);
$dir = dirname($url);
-if ($dir && $legal_dirs[$dir]) {
+if (isset($dir) && isset($legal_dirs[$dir])) {
$page_name = $DOCUMENT_ROOT . $url;
} else {
$page_name = basename($url);