Forgot to change some calls of linkTo
This commit is contained in:
parent
ddc2a70de9
commit
39279350eb
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue