We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25e374b commit ed76a8dCopy full SHA for ed76a8d
install.php
@@ -16,10 +16,16 @@
16
17
//load composer.json and get the "name" of pack
18
$namespace = @json_decode(file_get_contents(__DIR__.'/composer.json'))->name;
19
-$appConfig = $composer['Config\\'][0].'/'.$namespace.'/';
+
20
+$namespace = explode('/', $namespace);
21
22
+$appConfig = $composer['Config\\'][0].'/';
23
24
+foreach ($namespace as $value) {
25
+ $appConfig .= ucfirst($value).'/';
26
+}
27
28
$thisConfig = __DIR__.'/Config/';
-//exit("\n\n\---> $appConfig\n");
29
30
if (!is_dir($thisConfig)) {
31
ret("I can't find 'Config' directory in this pack!");
0 commit comments