cvs: pearweb /include pear-prepend.php
| From: | Pierre-Alain Joye | Date: | Tue, 01 Mar 2005 21:39:39 +0000 |
| Subject: | cvs: pearweb /include pear-prepend.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29974@lists.php.net to get a copy of this message | ||
pajoye Tue Mar 1 16:39:39 2005 EDT
Modified files:
/pearweb/include pear-prepend.php
Log:
- using include_once, files will really not be included (at least with
some php versions)
http://cvs.php.net/diff.php/pearweb/include/pear-prepend.php?r1=1.55&r2=1.56&ty=u
Index: pearweb/include/pear-prepend.php
diff -u pearweb/include/pear-prepend.php:1.55 pearweb/include/pear-prepend.php:1.56
--- pearweb/include/pear-prepend.php:1.55 Tue Mar 1 11:43:28 2005
+++ pearweb/include/pear-prepend.php Tue Mar 1 16:39:39 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-prepend.php,v 1.55 2005/03/01 16:43:28 mj Exp $
+ $Id: pear-prepend.php,v 1.56 2005/03/01 21:39:39 pajoye Exp $
*/
require_once "pear-config.php";
if ($_SERVER['SERVER_NAME'] != PEAR_CHANNELNAME) {
@@ -40,10 +40,10 @@
include_once "pear-format-$format.php";
-require_once "DB.php";
-require_once "DB/storage.php";
-require_once "pear-auth.php";
-require_once "pear-database.php";
+include_once "DB.php";
+include_once "DB/storage.php";
+include_once "pear-auth.php";
+include_once "pear-database.php";
function get($name)
{