|
@@ -44,9 +44,9 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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; |
Please login to merge, or discard this patch.