зеркало из https://github.com/nextcloud/server.git
fix the getlink calls
This commit is contained in:
Родитель
bc5bf18eed
Коммит
c824572b91
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче