fix the getlink calls

remotes/origin/stable
Frank Karlitschek 13 years ago
parent bc5bf18eed
commit c824572b91
  1. 2
      admin/system.php
  2. 2
      admin/users.php
  3. 2
      apps/user_ldap/settings.php
  4. 2
      files/admin.php
  5. 2
      files/ajax/download.php
  6. 2
      files/download.php
  7. 2
      files/settings.php
  8. 2
      help/index.php
  9. 2
      settings/index.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();
}

@ -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();
}

Loading…
Cancel
Save