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

@@ -7,11 +7,11 @@
*/
// application environment
include("path.php");
require("path.php");
require(BASE."include/"."incl.php");
require(BASE."include/filter.php");
require(BASE."include/"."appdb.php");
require(BASE."include/"."category.php");
require_once(BASE."include/"."appdb.php");
require_once(BASE."include/"."category.php");
function admin_menu()
{