summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
commitf8d1d7787e1112842db81a629dfd84b586fbebda (patch)
tree65ca5da914f492411485ccb61a707b00686ba8f6 /lib/helper.php
parent17d466b03b91ccc058fe1a88340df36c22a580c2 (diff)
downloadnextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz
nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 27e312eeb2b..ed459dab624 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -475,16 +475,16 @@ class OC_Helper {
$dirs = explode(PATH_SEPARATOR, $path);
// WARNING : We have to check if open_basedir is enabled :
$obd = ini_get('open_basedir');
- if($obd != "none"){
+ if($obd != "none") {
$obd_values = explode(PATH_SEPARATOR, $obd);
- if(count($obd_values) > 0 and $obd_values[0]){
+ if(count($obd_values) > 0 and $obd_values[0]) {
// open_basedir is in effect !
// We need to check if the program is in one of these dirs :
$dirs = $obd_values;
}
}
- foreach($dirs as $dir){
- foreach($exts as $ext){
+ foreach($dirs as $dir) {
+ foreach($exts as $ext) {
if($check_fn("$dir/$name".$ext))
return true;
}