diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-05 23:28:59 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-05 23:28:59 +0200 |
commit | ebb28412ca47889019aa4c0f278fe3b9097996f8 (patch) | |
tree | cdb3f96d96d2076b2f7f1c32ad0d382f72ee3742 /settings | |
parent | daf41885e5481b80b15b4b2987f071608b7ad235 (diff) | |
download | nextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.tar.gz nextcloud-server-ebb28412ca47889019aa4c0f278fe3b9097996f8.zip |
no more require_once()
Diffstat (limited to 'settings')
-rwxr-xr-x | settings/admin.php | 2 | ||||
-rw-r--r-- | settings/ajax/disableapp.php | 2 | ||||
-rw-r--r-- | settings/ajax/enableapp.php | 2 | ||||
-rw-r--r-- | settings/ajax/togglesubadmins.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/settings/admin.php b/settings/admin.php index 8788de940b3..351c8a3fff1 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -5,7 +5,7 @@ * See the COPYING-README file. */ -require_once('../lib/base.php'); +require_once '../lib/base.php'; OC_Util::checkAdminUser(); OC_Util::addStyle( "settings", "settings" ); diff --git a/settings/ajax/disableapp.php b/settings/ajax/disableapp.php index cc006988707..977a536af21 100644 --- a/settings/ajax/disableapp.php +++ b/settings/ajax/disableapp.php @@ -1,6 +1,6 @@ <?php // Init owncloud -require_once('../../lib/base.php'); +require_once '../../lib/base.php'; OC_JSON::checkAdminUser(); OCP\JSON::callCheck(); OC_JSON::setContentTypeHeader(); diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index fe3922fa02b..b9cf6a13670 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -1,7 +1,7 @@ <?php // Init owncloud -require_once('../../lib/base.php'); +require_once '../../lib/base.php'; OC_JSON::checkAdminUser(); OCP\JSON::callCheck(); OC_JSON::setContentTypeHeader(); diff --git a/settings/ajax/togglesubadmins.php b/settings/ajax/togglesubadmins.php index 42db8450302..82bb6ac45f3 100644 --- a/settings/ajax/togglesubadmins.php +++ b/settings/ajax/togglesubadmins.php @@ -1,7 +1,7 @@ <?php // Init owncloud -require_once('../../lib/base.php'); +require_once '../../lib/base.php'; OC_JSON::checkAdminUser(); OCP\JSON::callCheck(); |