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:
@@ -6,9 +6,9 @@
|
||||
/*
|
||||
* application environment
|
||||
*/
|
||||
include("path.php");
|
||||
include(BASE."include/incl.php");
|
||||
include(BASE."include/vote.php");
|
||||
require("path.php");
|
||||
require(BASE."include/incl.php");
|
||||
require(BASE."include/vote.php");
|
||||
|
||||
vote_update($_POST);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user