moshaorui 4 months ago
parent
commit
2d14ef7329
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Distributor/Controllers/SitePagesController.php

+ 2 - 0
app/Distributor/Controllers/SitePagesController.php

@@ -38,6 +38,8 @@ class SitePagesController extends AdminDistController
         // 检查是否支持 pcntl 扩展
         if (!function_exists('pcntl_fork')) {
             die('pcntl_fork() is not available on this system.');
+        } else {
+            die('pcntl_fork() supported on this system.');
         }
         exit;
         return Grid::make(SitePages::with(['pagesTag']), function (Grid $grid) {