Completed
Push — master ( e5abe6...566895 )
by Baris
09:19 queued 06:33
created
bootstrap/autoload.php 1 patch
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,8 +6,9 @@  discard block
 block discarded – undo
6 6
 
7 7
 function _if( $path, $name ) {
8 8
     $filePath = $path.'/'.(ENVIROMENT == '' ? '' : ENVIROMENT.'/').$name;
9
-    if ( !is_file($filePath) )
10
-        $filePath = $path.'/'.$name;
9
+    if ( !is_file($filePath) ) {
10
+            $filePath = $path.'/'.$name;
11
+    }
11 12
     return $filePath;
12 13
 } 
13 14
 
@@ -80,8 +81,9 @@  discard block
 block discarded – undo
80 81
 define("APPLICATION_NAME", $applicationName);
81 82
 define("APPLICATION_PATH", $pathConfigs->solution_path.APPLICATION_NAME."/" );
82 83
 
83
-if ( !is_dir( APPLICATION_PATH ) ) 
84
+if ( !is_dir( APPLICATION_PATH ) ) {
84 85
     _d("There is no application called \"".APPLICATION_NAME."\" in your apps folder.");
86
+}
85 87
 
86 88
 /*
87 89
 |--------------------------------------------------------------------------
Please login to merge, or discard this patch.