Skip to content

Commit 525b93e

Browse files
committed
Change namespace in "config/app.php"
1 parent b2b2a38 commit 525b93e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function run($command)
259259

260260
replace_in_file($composer . '.json', $texts);
261261

262-
run('composer update');
262+
run('composer dump-autoload');
263263
// -----------------------------------------------
264264

265265
// Change details in Router.php ---------------
@@ -312,6 +312,12 @@ function run($command)
312312
remove_file($config . '/illuminate.php');
313313
}
314314

315+
// Replace namespace in "app.php" ------------
316+
$texts = array('App' => $name);
317+
318+
replace_in_file($config . '/app.php', $texts);
319+
// -------------------------------------------
320+
315321
if ($useBlade)
316322
{
317323
$blade = "'Rougin\Weasley\Packages\Laravel\Blade'";

0 commit comments

Comments
 (0)