From: Jason S. <jsw...@ya...> - 2003-05-05 02:41:17
|
I altered include.php to use require_once instead of include. Also, require_once is a PHP directive rather than a function, so the parenthesis are optional and I have left them off. Lastly, the ext/Xml.php is not required for Phrame itself, but rather only for some of the Phrame examples that use xml. Since this is the case, I think it would be more appropriate to have those applications using that file perform the include explicitly. $ diff include.php include.jes.php 2,13c2,13 < include('util/Object.php'); < include('util/ArrayList.php'); < include('util/HashMap.php'); < include('util/Stack.php'); < include('util/ListIterator.php'); < include('ext/Xml.php'); < include('Constants.php'); < include('Action.php'); < include('ActionController.php'); < include('ActionForm.php'); < include('ActionForward.php'); < include('ActionMapping.php'); --- > require_once 'util/Object.php'; > require_once 'util/ArrayList.php'; > require_once 'util/HashMap.php'; > require_once 'util/Stack.php'; > require_once 'util/ListIterator.php'; > //require_once 'ext/Xml.php'; > require_once 'Constants.jes.php'; > require_once 'Action.php'; > require_once 'ActionController.jes.php'; > require_once 'ActionForm.php'; > require_once 'ActionForward.php'; > require_once 'ActionMapping.php'; __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |