include_once OPENBIZ_HOME . "/messages/system.msg"; // defined Zend framework library home as ZEND_FRWK_HOME if (!defined('ZEND_FRWK_HOME')) { define('ZEND_FRWK_HOME', OPENBIZ_HOME . "/others/"); } /* Popup Suffix for Modal or Popup Windows */ define('Popup_Suffix', "_popupx_"); // add zend framework to include path set_include_path(get_include_path() . PATH_SEPARATOR . ZEND_FRWK_HOME); /* global variables */ include_once "BizClassLoader.php"; $coreClassMap = (include __DIR__ . DIRECTORY_SEPARATOR . 'autoload_classmap.php'); BizClassLoader::registerClassMap($coreClassMap); //$othersClassMap = include( realpath(__DIR__ . '/../others/autoload_classmap.php' ) ); $othersClassMap = (include realpath(__DIR__ . '/../../autoload_classmap_selected.php')); BizClassLoader::registerClassMap($othersClassMap); //echo realpath( __DIR__ . '/../others/autoload_classmap.php' ); //echo "<pre>"; //print_r($othersClassMap); //exit; // error handling error_reporting(E_ALL ^ (E_NOTICE | E_STRICT)); ini_set('display_errors', 1); // if use user defined error handling function, all errors are reported to the function //$default_error_handler = set_error_handler("userErrorHandler"); //$default_exception_handler = set_exception_handler('userExceptionHandler'); // set DOCUMENT_ROOT setDocumentRoot(); /** * Search for the php file required to load the class *