Merge branch 'master' of github.com:jeena/seinheit.ch
This commit is contained in:
commit
8d5a30b335
4 changed files with 17 additions and 7 deletions
|
@ -34,7 +34,10 @@ class AdminController extends Katharsis_Controller_Abstract
|
|||
|
||||
private function getPassword()
|
||||
{
|
||||
$admin_ini = parse_ini_file('config/admin.ini');
|
||||
$path = 'config/admin.ini';
|
||||
if(!is_readable($path)) die($path . " not found");
|
||||
|
||||
$admin_ini = parse_ini_file($path);
|
||||
$password = $admin_ini["password"];
|
||||
|
||||
return $password;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue