更新到处数据
This commit is contained in:
@@ -64,7 +64,7 @@ class ExportDataCommand extends Command
|
|||||||
{
|
{
|
||||||
$stub = file_get_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'permissionSeed.stub');
|
$stub = file_get_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'permissionSeed.stub');
|
||||||
|
|
||||||
file_put_contents(CatchAdmin::moduleSeedsDirectory($module) . 'permissionSeed.php', str_replace('{DATA}', $data, $stub));
|
file_put_contents(CatchAdmin::moduleSeedsDirectory($module) . 'PermissionSeed.php', str_replace('{DATA}', $data, $stub));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user