Forgot to change some calls of linkTo

This commit is contained in:
Jakob Sack 2011-03-02 23:58:46 +01:00
parent ddc2a70de9
commit 39279350eb
6 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}

View File

@ -24,7 +24,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}

View File

@ -24,7 +24,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}

View File

@ -24,7 +24,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}

View File

@ -26,7 +26,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn()){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}

View File

@ -3,7 +3,7 @@
require_once('../lib/base.php');
oc_require( 'template.php' );
if( !OC_USER::isLoggedIn()){
header( "Location: ".OC_UTIL::linkto( "index.php" ));
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}