Subversion Repositories LCARS

Compare Revisions

Last modification

Ignore whitespace Rev 154 → Rev 152

/trunk/global.php
27,12 → 27,18
);
 
/* TODO: Use Autoloader */
require_once 'Zend/Loader/StandardAutoloader.php';
$loader = new Zend\Loader\StandardAutoloader(array('autoregister_zf' => true));
$loader->register();
 
require_once 'Zend/Stdlib/ErrorHandler.php';
require_once 'Zend/I18n/Translator/TextDomain.php';
require_once 'Zend/I18n/Translator/Loader/FileLoaderInterface.php';
require_once 'Zend/I18n/Translator/Loader/Gettext.php';
require_once 'Zend/ServiceManager/ServiceLocatorAwareInterface.php';
require_once 'Zend/ServiceManager/ServiceLocatorInterface.php';
require_once 'Zend/ServiceManager/ServiceManager.php';
require_once 'Zend/ServiceManager/AbstractPluginManager.php';
require_once 'Zend/I18n/Translator/LoaderPluginManager.php';
require_once 'Zend/I18n/Translator/Translator.php';
$translator = new Zend\I18n\Translator\Translator();
// $translator->setCache(new Zend\Cache\Storage\*Adapter());
$type = 'gettext';
$baseDir = './LocaleData';
$pattern = '%s/LC_MESSAGES/%1$s.pointedears.mo';