改名
This commit is contained in:
+2
-2
@@ -35,10 +35,10 @@ class Gii
|
||||
/** @var Input */
|
||||
private Input $input;
|
||||
|
||||
public string $modelPath = APP_PATH . '/app/Models/';
|
||||
public string $modelPath = APP_PATH . 'app/Models/';
|
||||
public string $modelNamespace = 'App\\Models\\';
|
||||
|
||||
public string $controllerPath = APP_PATH . '/app/Http/Controllers/';
|
||||
public string $controllerPath = APP_PATH . 'app/Http/Controllers/';
|
||||
public string $controllerNamespace = 'App\\Http\\Controllers\\';
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -24,10 +24,10 @@ abstract class GiiBase
|
||||
/** @var Input */
|
||||
protected Input $input;
|
||||
|
||||
public string $modelPath = APP_PATH . '/app/Models/';
|
||||
public string $modelPath = APP_PATH . 'app/Models/';
|
||||
public string $modelNamespace = 'App\Models\\';
|
||||
|
||||
public string $controllerPath = APP_PATH . '/app/Http/Controllers/';
|
||||
public string $controllerPath = APP_PATH . 'app/Http/Controllers/';
|
||||
public string $controllerNamespace = 'App\\Http\\Controllers\\';
|
||||
|
||||
public ?string $module = null;
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ class ' . $managerName . ' implements Task
|
||||
|
||||
}';
|
||||
|
||||
$file = APP_PATH . '/app/Async/' . $managerName . '.php';
|
||||
$file = APP_PATH . 'app/Async/' . $managerName . '.php';
|
||||
if (file_exists($file)) {
|
||||
unlink($file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user