Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using

require_once() for including files in /include so we can have include/*.php files include
their own dependencies rather than figuring out that to include A.php we need to include B.php
This commit is contained in:
Chris Morgan
2006-07-07 18:14:53 +00:00
committed by WineHQ
parent 64c1681e43
commit 854df987c6
38 changed files with 107 additions and 120 deletions

View File

@@ -19,12 +19,12 @@
*/
// application environment
include("path.php");
require("path.php");
require(BASE."include/incl.php");
require(BASE."include/filter.php");
require_once(BASE."include/screenshot.php");
require(BASE."include/application.php");
require(BASE."include/mail.php");
require_once(BASE."include/application.php");
require_once(BASE."include/version.php");
// we issued a command
if($aClean['sCmd'])