Completed
Push — erdiko2 ( 95ffe9...bf6b63 )
by John
14s
created
bootstrap.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 // @note should we fully deprecate the globals?
3
- define('ERDIKO_ROOT', getenv('ERDIKO_ROOT'));
4
- define('ERDIKO_PUBLIC', ERDIKO_ROOT.'/public');
5
- define('ERDIKO_APP', ERDIKO_ROOT.'/app');
6
- define('ERDIKO_VAR', ERDIKO_ROOT.'/var');
3
+    define('ERDIKO_ROOT', getenv('ERDIKO_ROOT'));
4
+    define('ERDIKO_PUBLIC', ERDIKO_ROOT.'/public');
5
+    define('ERDIKO_APP', ERDIKO_ROOT.'/app');
6
+    define('ERDIKO_VAR', ERDIKO_ROOT.'/var');
7 7
 
8 8
 // @todo move this function
9 9
 if (PHP_SAPI == 'cli-server') {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 }
18 18
 
19 19
 require_once 'src/autoload.php';
20
-require_once ERDIKO_ROOT . '/vendor/autoload.php';
20
+require_once ERDIKO_ROOT.'/vendor/autoload.php';
21 21
 
22 22
 // Set a default context if none specified
23
-if(empty(getenv('ERDIKO_CONTEXT')))
23
+if (empty(getenv('ERDIKO_CONTEXT')))
24 24
         putenv("ERDIKO_CONTEXT=default");
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,5 +20,6 @@
 block discarded – undo
20 20
 require_once ERDIKO_ROOT . '/vendor/autoload.php';
21 21
 
22 22
 // Set a default context if none specified
23
-if(empty(getenv('ERDIKO_CONTEXT')))
24
-        putenv("ERDIKO_CONTEXT=default");
25 23
\ No newline at end of file
24
+if(empty(getenv('ERDIKO_CONTEXT'))) {
25
+        putenv("ERDIKO_CONTEXT=default");
26
+}
Please login to merge, or discard this patch.