summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorClark Tomlinson <fallen013@gmail.com>2014-09-17 10:07:32 -0400
committerMorris Jobke <hey@morrisjobke.de>2015-11-23 14:12:31 +0100
commit9caf4ffbfc2be077a1431149e77be485cd087081 (patch)
treee420a23bd67c20add4d1dda1e783d1c01024190a /lib/private/helper.php
parentbf672d7e51bd3411130a3c3a41a931fb3d23ff68 (diff)
downloadnextcloud-server-9caf4ffbfc2be077a1431149e77be485cd087081.tar.gz
nextcloud-server-9caf4ffbfc2be077a1431149e77be485cd087081.zip
Replacing ini_get instances with inigetwrapper usages
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index ee2f520fe2b..3bb81fba603 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -462,7 +462,7 @@ class OC_Helper {
// Default check will be done with $path directories :
$dirs = explode(PATH_SEPARATOR, $path);
// WARNING : We have to check if open_basedir is enabled :
- $obd = ini_get('open_basedir');
+ $obd = OC::$server->getIniWrapper()->getString('open_basedir');
if ($obd != "none") {
$obd_values = explode(PATH_SEPARATOR, $obd);
if (count($obd_values) > 0 and $obd_values[0]) {