diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 4c5e8a0b8..fd3938f32 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -33,7 +33,7 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule) { - if (env('DB_INSTALL') == 1) { + if (isInstall()) { $this->execute($schedule, 'fetching'); $this->execute($schedule, 'notification'); $this->execute($schedule, 'work'); diff --git a/app/Http/Controllers/Agent/helpdesk/OrganizationController.php b/app/Http/Controllers/Agent/helpdesk/OrganizationController.php index 3e9c51b4f..5ab42060d 100644 --- a/app/Http/Controllers/Agent/helpdesk/OrganizationController.php +++ b/app/Http/Controllers/Agent/helpdesk/OrganizationController.php @@ -310,7 +310,7 @@ class OrganizationController extends Controller for ($i = $date1; $i <= $date2; $i = $i + 86400) { $thisDate = date('Y-m-d', $i); - $user_orga_relation_id = ''; + $user_orga_relation_id = []; $user_orga_relations = User_org::where('org_id', '=', $id)->get(); foreach ($user_orga_relations as $user_orga_relation) { $user_orga_relation_id[] = $user_orga_relation->user_id; diff --git a/public/probe.php b/public/probe.php index c8ffdbd42..ed34fa818 100644 --- a/public/probe.php +++ b/public/probe.php @@ -52,9 +52,58 @@ $extensions = [
Directory permissions | ++ | |
---|---|---|
storage | + = 755) { ?> += $storagePermission; ?> | + += $storagePermission; ?> (Directory should be writable by your web server or Faveo will not run. Give preferred permissions as 755 for directory and 644 for files.) | + +
bootstrap/cache | + = 755) { ?> += $bootstrapPermission; ?> | + += $bootstrapPermission; ?> (Directory should be writable by your web server or Faveo will not run. Give preferred permissions as 755 for directory and 644 for files.) | + +
PHP Extensions | +Status | +'.$extension." | Not Enabled"
+ ." To enable this, please open '".php_ini_loaded_file()."' and add 'extension = ".$extension."' " + .' | ';
+ } else {
+ echo ''.$extension." | Enabled | "; + } + echo ''; + } + ?> +
---|
Requirements | +Server Requirements | Status |
---|
PHP Extensions | -Status | -'.$extension." | Not Enabled"
- ." To enable this, please open '".php_ini_loaded_file()."' and add 'extension = ".$extension."' " - .' | ';
- } else {
- echo ''.$extension." | Enabled | "; - } - echo ''; - } - ?> -
---|
NOTE: Please delete the file 'probe.php' once you have fixed all the issues.