[AppDB] - cleanup require/require_once()/include()

Chris Morgan cmorgan at alum.wpi.edu
Thu Jul 6 23:37:59 CDT 2006


Use require() for path.php and include/incl.php.  We can't proceed without 
these files.  Use require_once() for all include/*.php files.  To simplify 
inclusion each file includes the other files it needs.  In this manner we 
don't have to include "mail.php" when we include "application.php", something 
that was done all over the place in the appdb.  Remove unnecessary includes 
of mail.php and other classes that weren't being used.  Add missing includes 
for some classes that were being used but not being included.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: require_cleanup.patch
Type: text/x-diff
Size: 26022 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060707/a102e8f3/require_cleanup-0001.patch


More information about the wine-patches mailing list