This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ $opts = Zend_Registry::get('config')->centurion->toArray(); | |
+ Centurion_Config_Manager::set('centurion.auth_profile', $opts['auth_profile']); | |
+ $translation = Zend_Registry::get('config')->translation->toArray(); | |
+ Centurion_Config_Manager::set('translation', $translation); | |
+ Centurion_Config_Manager::set('resources', Zend_Registry::get('config')->resources); | |
} | |
protected function _initView() | |
{ | |
+ Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer')->setView(new Centurion_View); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+require_once 'Centurion/Application.php'; | |
+ | |
+require_once 'Zend/Loader/Autoloader.php'; | |
+$autoloader = Zend_Loader_Autoloader::getInstance() | |
+ ->registerNamespace('Centurion_') | |
+ ->setDefaultAutoloader(create_function('$class', | |
+ "include str_replace('_', '/', \$class) . '.php';" | |
+ )); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+/public/files/* | |
+/public/cached/* | |
+!/public/files/.gitkeep | |
+!/public/cached/.gitkeep | |
+ | |
+/data/cache/class/* | |
+/data/cache/core/* | |
+/data/cache/output/* | |
+/data/cache/page/* | |
+/data/cache/tags/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function simulateSoapRequest($request, $location, $action, $version) | |
{ | |
$client = new Zend_Http_Client($location); | |
$adapter = new Zend_Http_Client_Adapter_Curl(); | |
$client->setAdapter($adapter); | |
$adapter->setCurlOption(CURLOPT_TIMEOUT, $this->_timeout); | |
$client->setMethod(Zend_Http_Client::POST); | |
$client->setHeaders('Content-Type', $version == 2 ? 'application/soap+xml' : 'text/xml'); | |
$client->setHeaders('SOAPAction', $action); |
NewerOlder