From WACT/framework/template/compiler/delegatingsaxhandler.inc.php:
PHP Code:
/**
* Include PEAR::XML_HTMLSax
*/
if ( !defined('PEAR_LIBRARY_PATH') ) {
define('PEAR_LIBRARY_PATH', getConfigOption('config', 'pear', 'library_path'));
}
if (!@include_once PEAR_LIBRARY_PATH . 'XML/XML_HTMLSax.php') {
if ( !defined('XML_HTMLSAX') ) {
define('XML_HTMLSAX', WACT_ROOT . getConfigOption('compiler', 'XML_HTMLSAX', 'library_path'));
}
if (!@include_once XML_HTMLSAX . 'XML_HTMLSax.php') {
RaiseError('runtime', 'LIBRARY_REQUIRED', array(
'library' => 'PEAR::XML_HTMLSax',
'path' => XML_HTMLSAX));
}
}
Bookmarks