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:
Chris Morgan
2006-07-21 04:24:59 +00:00
committed by WineHQ
parent 9364f5bc5a
commit 240a241a54
9 changed files with 18 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
<?php
include("path.php");
include(BASE."include/"."incl.php");
require("path.php");
require(BASE."include/"."incl.php");
if(!$_SESSION['current']->hasPriv("admin"))
util_show_error_page_and_exit();