[phplib-dev] cvs commit From: kk (phplib-dev <email protected>)
Date: 07/14/01

From: kk
Date: Sat Jul 14 22:24:46 2001
Modified files:
      php-lib/php/prepend.php3

Log message:
This is becasue $_PHPLIB['libdir'] is only initalized if it isn't present.
Simply remvove the if(!(is_array($_PHPLIB)) { call and it will be better.

Index: php-lib/php/prepend.php3
diff -u php-lib/php/prepend.php3:1.19 php-lib/php/prepend.php3:1.20
--- php-lib/php/prepend.php3:1.19 Mon Feb 26 09:29:47 2001
+++ php-lib/php/prepend.php3 Sat Jul 14 22:24:15 2001
@@ -5,29 +5,29 @@
  * Copyright (c) 1998-2000 SH Online Dienst GmbH
  * Boris Erdmann, Kristian Koehntopp
  *
- * $Id: prepend.php3,v 1.19 2001/02/26 08:29:47 max Exp $
+ * $Id: prepend.php3,v 1.20 2001/07/14 20:24:15 kk Exp $
  *
  */
 
-if (!is_array($_PHPLIB)) {
- # Can't control your include path?
- # Point this to your PHPLIB base directory. Use trailing "/"!
- $_PHPLIB["libdir"] = "";
+$_PHPLIB = array();
+
+# Can't control your include path?
+# Point this to your PHPLIB base directory. Use trailing "/"!
+$_PHPLIB["libdir"] = "";
   
- # Which database interface are you using?
- $_PHPLIB["db"] = "mysql";
+# Which database interface are you using?
+$_PHPLIB["db"] = "mysql";
   
- # Which authentication scheme are you using?
- $_PHPLIB["auth"] = "sql";
+# Which authentication scheme are you using?
+$_PHPLIB["auth"] = "sql";
   
- # What is your PHP Version? Set to "3" or "4"
- $_PHPLIB["version"] = "4";
+# What is your PHP Version? Set to "3" or "4"
+$_PHPLIB["version"] = "4";
   
- # Do you intend to use custom session save handlers (PHP4 only) ?
- if ($_PHPLIB["version"] == "4") { // do not change this
- # set to true or false
- $_PHPLIB["custom_save_handler"] = false;
- }
+# Do you intend to use custom session save handlers (PHP4 only) ?
+if ($_PHPLIB["version"] == "4") { // do not change this
+ # set to true or false
+ $_PHPLIB["custom_save_handler"] = false;
 }
 
 # Load database connector classes

-- 
Abbestellen mit Mail an:   phplib-dev-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-dev-help <email protected>