Format code using php-cs-fixer
This commit is contained in:
parent
43d7dc92cd
commit
d52c6184b9
352 changed files with 17473 additions and 17041 deletions
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
require_once CONFIG_PATH . "conf.php";
|
||||
|
||||
require_once CONFIG_PATH . 'conf.php';
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
||||
require_once CONFIG_PATH . "ACL.php";
|
||||
require_once CONFIG_PATH . 'ACL.php';
|
||||
|
||||
// Since we initialize the database during the configuration check,
|
||||
// check the $configRun global to avoid reinitializing unnecessarily
|
||||
|
@ -10,15 +11,16 @@ if (!isset($configRun) || !$configRun) {
|
|||
Propel::init(CONFIG_PATH . 'airtime-conf-production.php');
|
||||
}
|
||||
|
||||
require_once CONFIG_PATH . "constants.php";
|
||||
require_once CONFIG_PATH . 'constants.php';
|
||||
|
||||
Logging::setLogPath(LIBRETIME_LOG_DIR . '/zendphp.log');
|
||||
|
||||
Zend_Session::setOptions(array('strict' => true));
|
||||
Zend_Session::setOptions(['strict' => true]);
|
||||
Config::setAirtimeVersion();
|
||||
require_once (CONFIG_PATH . 'navigation.php');
|
||||
|
||||
Zend_Validate::setDefaultNamespaces("Zend");
|
||||
require_once CONFIG_PATH . 'navigation.php';
|
||||
|
||||
Zend_Validate::setDefaultNamespaces('Zend');
|
||||
|
||||
$front = Zend_Controller_Front::getInstance();
|
||||
$front->registerPlugin(new RabbitMqPlugin());
|
||||
|
@ -36,7 +38,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||
}
|
||||
|
||||
/**
|
||||
* initialize front controller
|
||||
* initialize front controller.
|
||||
*
|
||||
* This is call ZFrontController to ensure it is executed last in the bootstrap process.
|
||||
*/
|
||||
|
@ -53,11 +55,12 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||
|
||||
$router->addRoute(
|
||||
'password-change',
|
||||
new Zend_Controller_Router_Route('password-change/:user_id/:token', array(
|
||||
new Zend_Controller_Router_Route('password-change/:user_id/:token', [
|
||||
'module' => 'default',
|
||||
'controller' => 'login',
|
||||
'action' => 'password-change',
|
||||
)));
|
||||
])
|
||||
);
|
||||
}
|
||||
|
||||
public function _initPlugins()
|
||||
|
@ -67,4 +70,3 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||
$front->registerPlugin(new PageLayoutInitPlugin($this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue