Use require() instead of include() because we can't operate properly if we can't find all listed include files
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
// application environment
|
||||
include("path.php");
|
||||
include(BASE."include/incl.php");
|
||||
require("path.php");
|
||||
require(BASE."include/incl.php");
|
||||
|
||||
function build_prefs_list($oUser)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user