We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e2c44 commit d52ca34Copy full SHA for d52ca34
bin/apiato
@@ -4,9 +4,13 @@
4
use Apiato\Installer\Commands\NewCommand;
5
use Symfony\Component\Console\Application;
6
7
-require __DIR__ . '../vendor/autoload.php';
+if (file_exists(__DIR__.'/../../../autoload.php')) {
8
+ require __DIR__.'/../../../autoload.php';
9
+} else {
10
+ require __DIR__.'/../vendor/autoload.php';
11
+}
12
-$application = new Application('Apiato Installer', '0.1.3');
13
+$application = new Application('Apiato Installer', '0.1.4');
14
15
# add our commands
16
$application->add(new NewCommand());
0 commit comments