Added the path './' before all required or included files to avoid conflicts with the 'include_path' directive

This commit is contained in:
Loïc Chapeaux
2001-05-20 09:56:22 +00:00
parent 50df8b6678
commit dfa57ed7d8
28 changed files with 105 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
<?php
/* $Id$ */
require("config.inc.php3");
require("./config.inc.php3");
if(!defined("__LIB_INC__")) {
define("__LIB_INC__", 1);
@@ -80,7 +80,7 @@ function mysql_die($error = "") {
else
echo "$strMySQLSaid ".htmlspecialchars($error);
echo "\n<br><a href=\"javascript:history.go(-1)\">$strBack</a>";
include("footer.inc.php3");
include("./footer.inc.php3");
exit;
}
@@ -643,7 +643,7 @@ function mysql_die2($sql) {
echo "$strMySQLSaid ".htmlspecialchars($error);
echo "\n<br><a href=\"javascript:history.go(-1)\">$strBack</a>";
include("footer.inc.php3");
include("./footer.inc.php3");
exit;
}