/** * get common include code files */ protected static function requireCommonIncludes() { // pear require_once "include/inc.get_pear.php"; require_once "include/inc.check_pear.php"; require_once "PEAR.php"; // ilTemplate if (ilContext::usesTemplate()) { // HTML_Template_IT support @(include_once "HTML/Template/ITX.php"); // new implementation if (class_exists("HTML_Template_ITX")) { include_once "./Services/UICore/classes/class.ilTemplateHTMLITX.php"; } else { include_once "HTML/ITX.php"; // old implementation include_once "./Services/UICore/classes/class.ilTemplateITX.php"; } require_once "./Services/UICore/classes/class.ilTemplate.php"; } // really always required? require_once "./Services/Utilities/classes/class.ilUtil.php"; require_once "./Services/Utilities/classes/class.ilFormat.php"; require_once "./Services/Calendar/classes/class.ilDatePresentation.php"; require_once "include/inc.ilias_version.php"; self::initGlobal("ilBench", "ilBenchmark", "./Services/Utilities/classes/class.ilBenchmark.php"); }