Fix APP_URL being called SITE_URL
This commit is contained in:
parent
61739ce266
commit
2545328233
@ -210,7 +210,7 @@ class InstallerController extends Controller
|
||||
// Now write out the env file
|
||||
$attrs = [
|
||||
'SITE_NAME' => $request->post('site_name'),
|
||||
'SITE_URL' => $request->post('site_url'),
|
||||
'APP_URL' => $request->post('app_url'),
|
||||
'DB_CONNECTION' => $request->post('db_conn'),
|
||||
'DB_HOST' => $request->post('db_host'),
|
||||
'DB_PORT' => $request->post('db_port'),
|
||||
|
@ -22,7 +22,7 @@ class ConfigService extends Service
|
||||
'APP_LOCALE' => 'en',
|
||||
'DEBUG_TOOLBAR' => false,
|
||||
'SITE_NAME' => '',
|
||||
'SITE_URL' => 'http://phpvms.test',
|
||||
'APP_URL' => 'http://phpvms.test',
|
||||
'DB_CONNECTION' => '',
|
||||
'DB_HOST' => '',
|
||||
'DB_PORT' => 3306,
|
||||
@ -93,7 +93,7 @@ class ConfigService extends Service
|
||||
'APP_LOCALE' => config('app.locale'),
|
||||
'DEBUG_TOOLBAR' => config('app.debug_toolbar') ? 'true' : 'false',
|
||||
'SITE_NAME' => config('app.name'),
|
||||
'SITE_URL' => config('app.url'),
|
||||
'APP_URL' => config('app.url'),
|
||||
'DB_CONNECTION' => config('database.default'),
|
||||
'DB_HOST' => config('database.connections.mysql.host'),
|
||||
'DB_PORT' => config('database.connections.mysql.port'),
|
||||
|
@ -10,7 +10,7 @@ return [
|
||||
// Overrides config/app.php
|
||||
'app' => [
|
||||
'name' => '$SITE_NAME$',
|
||||
'url' => '$SITE_URL$',
|
||||
'url' => '$APP_URL$',
|
||||
|
||||
// When live, 'env' should be 'prod'
|
||||
'env' => 'prod',
|
||||
|
@ -15,7 +15,7 @@
|
||||
APP_KEY='$APP_KEY$'
|
||||
APP_NAME='$SITE_NAME$'
|
||||
SITE_NAME='$SITE_NAME$'
|
||||
SITE_URL='$SITE_URL$'
|
||||
APP_URL='$APP_URL$'
|
||||
APP_ENV=$APP_ENV$
|
||||
APP_LOCALE=$APP_LOCALE$
|
||||
LOG_LEVEL=debug
|
||||
|
@ -22,7 +22,7 @@
|
||||
<td>Site URL</td>
|
||||
<td style="text-align:center;">
|
||||
<div class="form-group">
|
||||
{{ Form::input('text', 'site_url', Request::root(), ['class' => 'form-control']) }}
|
||||
{{ Form::input('text', 'app_url', Request::root(), ['class' => 'form-control']) }}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user