diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-16 10:12:53 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-16 10:12:53 +0200 |
commit | 232654cb606af856d24c4b01353f18ac4a48e9bc (patch) | |
tree | 6b75128d02cc082e8a8bbcc26cfd921391562e17 /admin/system.php | |
parent | 3d89b2caa41bc99f48b8377c87e9c653f467631d (diff) | |
download | nextcloud-server-232654cb606af856d24c4b01353f18ac4a48e9bc.tar.gz nextcloud-server-232654cb606af856d24c4b01353f18ac4a48e9bc.zip |
get rid of the oc_require and friends
Diffstat (limited to 'admin/system.php')
-rw-r--r-- | admin/system.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/system.php b/admin/system.php index 36c9229d2f5..8abef287098 100644 --- a/admin/system.php +++ b/admin/system.php @@ -22,7 +22,7 @@ */ require_once('../lib/base.php'); -oc_require( 'template.php' ); +require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); |