diff --git a/config/config.php b/config/config.php index ed699d28a4f..8470ad3f24b 100755 --- a/config/config.php +++ b/config/config.php @@ -1,43 +1,87 @@ +
+ diff --git a/inc/lib_base.php b/inc/lib_base.php index 20d7ef04cb6..227e616bcd1 100755 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -57,7 +57,7 @@ class OC_USER { * check if the login button is pressed and logg the user in * */ - public static function loginlistener(){ + public static function loginlisener(){ global $CONFIG_ADMINLOGIN; global $CONFIG_ADMINPASSWORD; if(isset($_POST['loginbutton']) and isset($_POST['password']) and isset($_POST['login'])){ @@ -74,7 +74,7 @@ class OC_USER { * check if the logout button is pressed and logout the user * */ - public static function logoutlistener(){ + public static function logoutlisener(){ if(isset($_GET['logoutbutton'])){ OC_LOG::event($_SESSION['username'],2,''); if(isset($_SESSION['username'])) unset($_SESSION['username']); @@ -132,17 +132,18 @@ class OC_UTIL { * */ public static function shownavigation(){ + global $CONFIG_WEBROOT; echo('| '.$_SESSION['username'].' | '); - if($_SERVER['SCRIPT_NAME']=='/index.php') echo('Files | '); else echo('Files | '); + echo(''.$_SESSION['username'].' ![]() | ');
+ if($_SERVER['SCRIPT_NAME']=='/index.php') echo('Files | '); else echo('Files | '); foreach(OC_UTIL::$NAVIGATION as $NAVI) { if($_SERVER['SCRIPT_NAME']==$NAVI['url']) echo(''.$NAVI['name'].' | '); else echo(''.$NAVI['name'].' | '); } - if($_SERVER['SCRIPT_NAME']=='/log/index.php') echo('Log | '); else echo('Log | '); - if($_SERVER['SCRIPT_NAME']=='/settings/index.php') echo('Settings | '); else echo('Settings | '); - echo('Logout | '); + if($_SERVER['SCRIPT_NAME']=='/log/index.php') echo('Log | '); else echo('Log | '); + if($_SERVER['SCRIPT_NAME']=='/settings/index.php') echo('Settings | '); else echo('Settings | '); + echo('Logout | '); echo('
DB Error: "'.$DBConnection->error.'"
'; - $entry.='Offending command was: '.$cmd.'
'; + $entry='DB Error: "'.$DBConnection->error.'"