Ver Fonte

改变目录文件的位置

visuddhinanda há 2 meses atrás
pai
commit
c3a24d7502
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      api-v12/app/Http/Controllers/CategoryController.php

+ 1 - 1
api-v12/app/Http/Controllers/CategoryController.php

@@ -129,7 +129,7 @@ class CategoryController extends Controller
     }
     }
     private function loadCategories()
     private function loadCategories()
     {
     {
-        $json = file_get_contents(public_path("app/palicanon/category/default.json"));
+        $json = file_get_contents(public_path("date/category/default.json"));
         $tree = json_decode($json, true);
         $tree = json_decode($json, true);
         $flat = self::flattenWithIds($tree);
         $flat = self::flattenWithIds($tree);
         return $flat;
         return $flat;