move configuration ?registration_host? to ?app? section
This commit is contained in:
parent
c512dca087
commit
c1d75e8f83
2 changed files with 7 additions and 7 deletions
|
|
@ -30,11 +30,12 @@
|
|||
* @var array
|
||||
*/
|
||||
public static $app = array(
|
||||
'name' => 'Questlab',
|
||||
'genericname' => 'The Legend of Z',
|
||||
'namespace' => 'hhu\\z\\',
|
||||
'timeZone' => 'Europe/Berlin',
|
||||
'mailsender' => 'questlab@hhu.de'
|
||||
'name' => 'Questlab',
|
||||
'genericname' => 'The Legend of Z',
|
||||
'namespace' => 'hhu\\z\\',
|
||||
'timeZone' => 'Europe/Berlin',
|
||||
'mailsender' => 'questlab@hhu.de',
|
||||
'registration_host' => ''
|
||||
);
|
||||
|
||||
|
||||
|
|
@ -143,7 +144,6 @@
|
|||
* @var array
|
||||
*/
|
||||
public static $misc = array(
|
||||
'registration_host' => '',
|
||||
'ranking_range' => 2,
|
||||
'achievements_range' => 3,
|
||||
'title_delimiter' => ' – ',
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
|
||||
$fields = array('username', 'prename', 'surname', 'email', 'password');
|
||||
$validation = array();
|
||||
$emailhost = \nre\configs\AppConfig::$misc['registration_host'];
|
||||
$emailhost = \nre\configs\AppConfig::$app['registration_host'];
|
||||
|
||||
// Register a new user
|
||||
if($this->request->getRequestMethod() == 'POST' && !is_null($this->request->getPostParam('register')))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue