Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHkrg committed Jul 13, 2023
1 parent 2c8755b commit 5f1941c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Bootstrap/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct()
/*
* Load Helper Function
* */
Runner::LoadFolder('Core/helper');
Runner::LoadFolder('Core/Helper');
}

private function classLoader(): void
Expand Down
8 changes: 8 additions & 0 deletions Core/Cli/Action/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function install_Eloquent(): void
}

$command = new Process(["composer", "require", "illuminate/database", "illuminate/events", "doctrine/dbal"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -38,6 +39,7 @@ public function uninstall_Eloquent(): void
}

$command = new Process(["composer", "remove", "illuminate/database", "illuminate/events", "doctrine/dbal"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -54,6 +56,7 @@ public function install_Amphp(): void
}

$command = new Process(["composer", "require", "amphp/http-client"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -70,6 +73,7 @@ public function uninstall_Amphp(): void
}

$command = new Process(["composer", "remove", "amphp/http-client"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -86,6 +90,7 @@ public function install_Openswoole(): void
}

$command = new Process(["composer", "require", "openswoole/core"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -109,6 +114,7 @@ public function uninstall_Openswoole(): void
}

$command = new Process(["composer", "remove", "openswoole/core"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -121,6 +127,7 @@ public function uninstall_Openswoole(): void
public function install_Redis(): void
{
$command = new Process(["composer", "require", "ext-redis:*"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand All @@ -133,6 +140,7 @@ public function install_Redis(): void
public function uninstall_Redis(): void
{
$command = new Process(["composer", "remove", "ext-redis:*"]);
$command->setTimeout(900);
$command->start();
$command->wait();
if ($command->isSuccessful()) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ api('ApiName@MetodeName', $parameters)

# Updating ...

###### Version 1.5.3
###### Version 1.5.5

0 comments on commit 5f1941c

Please sign in to comment.