@@ -44,9 +44,9 @@ discard block |
||
44 | 44 | $isVendor = array_pop($testParts) == 'vendor'; |
45 | 45 | |
46 | 46 | if ($isVendor) { |
47 | - $path = realpath(__DIR__ . '/../../../../..'); // Get out of the Magium directories |
|
47 | + $path = realpath(__DIR__.'/../../../../..'); // Get out of the Magium directories |
|
48 | 48 | } else { |
49 | - $path = realpath(__DIR__ . '/../../..'); |
|
49 | + $path = realpath(__DIR__.'/../../..'); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | $count = 0; |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | $classes = array_reverse($classes); |
86 | 86 | |
87 | 87 | foreach ($classes as $class) { |
88 | - $configurationFile = $class . '.php'; |
|
89 | - $configurationFile = $configurationDir . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile); |
|
88 | + $configurationFile = $class.'.php'; |
|
89 | + $configurationFile = $configurationDir.DIRECTORY_SEPARATOR.str_replace('\\', DIRECTORY_SEPARATOR, $configurationFile); |
|
90 | 90 | |
91 | 91 | if (file_exists($configurationFile)) { |
92 | 92 | include $configurationFile; |
@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | foreach ($classes as $class) { |
14 | 14 | |
15 | - $variablePrefix = 'MAGIUM_' . str_replace('\\', '_', strtoupper($class)) . '_'; |
|
15 | + $variablePrefix = 'MAGIUM_'.str_replace('\\', '_', strtoupper($class)).'_'; |
|
16 | 16 | |
17 | 17 | // Fixes https://github.com/magium/Magium/issues/114 |
18 | 18 | $props = array_merge($_SERVER, $_ENV); |