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:
@@ -8,9 +8,9 @@
|
||||
/*
|
||||
* application environment
|
||||
*/
|
||||
include("path.php");
|
||||
include(BASE."include/incl.php");
|
||||
include(BASE."include/filter.php");
|
||||
require("path.php");
|
||||
require(BASE."include/incl.php");
|
||||
require(BASE."include/filter.php");
|
||||
require_once(BASE."include/comment.php");
|
||||
|
||||
apidb_header("Comments");
|
||||
|
||||
Reference in New Issue
Block a user