改名
This commit is contained in:
@@ -67,7 +67,7 @@ class ' . $managerName . 'Interceptor implements Interceptor
|
|||||||
|
|
||||||
}';
|
}';
|
||||||
|
|
||||||
$file = APP_PATH . '/app/Interceptor/' . $managerName . 'Interceptor.php';
|
$file = APP_PATH . 'app/Interceptor/' . $managerName . 'Interceptor.php';
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ class ' . $managerName . 'Limits implements Limits
|
|||||||
|
|
||||||
}';
|
}';
|
||||||
|
|
||||||
$file = APP_PATH . '/app/Interceptor/' . $managerName . 'Limits.php';
|
$file = APP_PATH . 'app/Limits/' . $managerName . 'Limits.php';
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class ' . $managerName . 'Middleware implements Middleware
|
|||||||
|
|
||||||
}';
|
}';
|
||||||
|
|
||||||
$file = APP_PATH . '/app/Middleware/' . $managerName . 'Middleware.php';
|
$file = APP_PATH . 'app/Middleware/' . $managerName . 'Middleware.php';
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user