summaryrefslogtreecommitdiffstats
path: root/admin/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/plugins.php')
-rw-r--r--admin/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index ae6d35c3227..60d23585a4f 100644
--- a/admin/plugins.php
+++ b/admin/plugins.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();