Plugin updates

Fixed plugin installation

updates

Updates

language updates
This commit is contained in:
Manish Verma
2018-08-16 10:50:08 +05:30
parent ed2d5b466f
commit 6d60b564ad
6 changed files with 227 additions and 25 deletions

View File

@@ -599,7 +599,7 @@ class SettingsController extends Controller
$plug->status = 1;
$app = base_path().DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'app.php';
$str = "\n'App\\Plugins\\$slug"."\\ServiceProvider',";
$str = "\n 'App\\Plugins\\$slug"."\\ServiceProvider',";
$line_i_am_looking_for = 190;
$lines = file($app, FILE_IGNORE_NEW_LINES);
$lines[$line_i_am_looking_for] = $str;