summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/admin.php2
-rw-r--r--files/download.php2
-rw-r--r--files/index.php2
-rw-r--r--files/settings.php2
-rw-r--r--files/webdav.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/files/admin.php b/files/admin.php
index 9470bcf90bd..3cc8a57d4cb 100644
--- a/files/admin.php
+++ b/files/admin.php
@@ -24,7 +24,7 @@
// Init owncloud
require_once('../lib/base.php');
-oc_require( 'template.php' );
+require( 'template.php' );
// Check if we are a user
if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){
diff --git a/files/download.php b/files/download.php
index d6d39c82126..f890036a32e 100644
--- a/files/download.php
+++ b/files/download.php
@@ -23,7 +23,7 @@
// Init owncloud
require_once('../lib/base.php');
-oc_require( 'template.php' );
+require( 'template.php' );
// Check if we are a user
if( !OC_USER::isLoggedIn()){
diff --git a/files/index.php b/files/index.php
index 25a9f0297dc..6d237ed6152 100644
--- a/files/index.php
+++ b/files/index.php
@@ -24,7 +24,7 @@
// Init owncloud
require_once('../lib/base.php');
-oc_require( 'template.php' );
+require( 'template.php' );
// Check if we are a user
if( !OC_USER::isLoggedIn()){
diff --git a/files/settings.php b/files/settings.php
index 25a9f0297dc..6d237ed6152 100644
--- a/files/settings.php
+++ b/files/settings.php
@@ -24,7 +24,7 @@
// Init owncloud
require_once('../lib/base.php');
-oc_require( 'template.php' );
+require( 'template.php' );
// Check if we are a user
if( !OC_USER::isLoggedIn()){
diff --git a/files/webdav.php b/files/webdav.php
index 7863818cc20..4b1393c110b 100644
--- a/files/webdav.php
+++ b/files/webdav.php
@@ -23,7 +23,7 @@
require_once('../lib/base.php');
-oc_require_once('HTTP/WebDAV/Server/Filesystem.php');
+require_once('HTTP/WebDAV/Server/Filesystem.php');
ini_set('default_charset', 'UTF-8');