//@include 'elkuku/g11n/language.php'; //-- @todo: check for installed g11n PEAR package to remove the "shut-up" //-- @require_once 'elkuku/g11n/language.php'; if (!class_exists('g11n')) { //-- 2) Check the libraries folder if (!jimport('g11n.language')) { //-- 3) Load a dummy language handler -> english only ! ecrLoadHelper('g11n_dummy'); ecrScript('g11n_dummy', 'php2js'); } } if (class_exists('g11n')) { //-- TEMP@@debug if (ECR_DEV_MODE && ECR_DEBUG_LANG) { //-- @@DEBUG g11n::cleanStorage(); g11n::setDebug(ECR_DEBUG_LANG); } //-- Get our special language file g11n::loadLanguage(); } /* * Functions */ /** * Autoloader. * * @param $className * * @return mixed */