diff options
-rw-r--r-- | admin/system.php | 2 | ||||
-rw-r--r-- | admin/users.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/settings.php | 2 | ||||
-rw-r--r-- | files/admin.php | 2 | ||||
-rw-r--r-- | files/ajax/download.php | 2 | ||||
-rw-r--r-- | files/download.php | 2 | ||||
-rw-r--r-- | files/settings.php | 2 | ||||
-rw-r--r-- | help/index.php | 2 | ||||
-rw-r--r-- | settings/index.php | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/admin/system.php b/admin/system.php index da77027f7aa..42ae8a6c2d1 100644 --- a/admin/system.php +++ b/admin/system.php @@ -23,7 +23,7 @@ require_once('../lib/base.php'); if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/admin/users.php b/admin/users.php index b120e10d437..cbec28a544b 100644 --- a/admin/users.php +++ b/admin/users.php @@ -23,7 +23,7 @@ require_once('../lib/base.php'); if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index cae3542a65b..696b95c37e0 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -24,7 +24,7 @@ require_once('../../lib/base.php'); if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( '', "index.php" )); exit(); } diff --git a/files/admin.php b/files/admin.php index 7161de6e196..db47bc7c033 100644 --- a/files/admin.php +++ b/files/admin.php @@ -28,7 +28,7 @@ require_once('../lib/base.php'); // Check if we are a user if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "files", "index.php" )); exit(); } diff --git a/files/ajax/download.php b/files/ajax/download.php index 2bbf1df4eca..4c756f9b190 100644 --- a/files/ajax/download.php +++ b/files/ajax/download.php @@ -26,7 +26,7 @@ require_once('../../lib/base.php'); // Check if we are a user if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/files/download.php b/files/download.php index cc52b930f72..ccd3eb43d8e 100644 --- a/files/download.php +++ b/files/download.php @@ -26,7 +26,7 @@ require_once('../lib/base.php'); // Check if we are a user if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/files/settings.php b/files/settings.php index 1f2e9d9868c..2bbcb2acd3a 100644 --- a/files/settings.php +++ b/files/settings.php @@ -27,7 +27,7 @@ require_once('../lib/base.php'); // Check if we are a user if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/help/index.php b/help/index.php index 642b2131737..7eb0c6b1820 100644 --- a/help/index.php +++ b/help/index.php @@ -2,7 +2,7 @@ require_once('../lib/base.php'); if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } diff --git a/settings/index.php b/settings/index.php index 9669b5b3dba..aea35054930 100644 --- a/settings/index.php +++ b/settings/index.php @@ -2,7 +2,7 @@ require_once('../lib/base.php'); if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( "index.php" )); + header( "Location: ".OC_Helper::linkTo( "", "index.php" )); exit(); } |