Installation issue solved..

This commit is contained in:
Cüneyt Şentürk 2019-11-22 15:16:11 +03:00
parent 1b0d680559
commit 9b86b70c91
6 changed files with 6 additions and 11 deletions

View File

@ -17,7 +17,8 @@ import Language from './views/install/Language';
import Database from './views/install/Database';
import Settings from './views/install/Settings';
var base_path = url.replace(window.location.origin, '');
var global_path = new URL(url).protocol + '//' + window.location.host;
var base_path = url.replace(global_path, '');
const router = new VueRouter({
mode: 'history',
@ -25,7 +26,7 @@ const router = new VueRouter({
routes: [
{
path: '/',
name: 'requirements',
name: 'home',
component: Requirements
},
{

View File

@ -17,7 +17,6 @@ import NProgressAxios from './../plugins/nprogress-axios';
import {VMoney} from 'v-money';
import { Select, Option } from 'element-ui';
import { isThisSecond } from 'date-fns';
// plugin setup
Vue.use(DashboardPlugin);

View File

@ -21,7 +21,6 @@
<p class="mt-2 after-step-text">Database</p>
</div>
<div class="col-md-4 text-center">
<button type="button" class="btn btn-secondary btn-lg wizard-steps rounded-circle steps">
<span class="btn-inner--icon wizard-steps-inner wizard-steps-color">3</span>

View File

@ -24,13 +24,10 @@
<p class="mt-2 text-muted step-text">Admin</p>
</div>
<div class="col-md-12">
<div class="form-group mb-0">
<select v-model="form.lang" name="lang" id="lang" size="13" class="col-xl-12 form-control-label">
<option
v-for="(name, code) in languages"
v-bind:value="code">
<option v-for="(name, code) in languages" :value="code">
{{ name }}
</option>
</select>

View File

@ -23,7 +23,6 @@
<div class="card">
{!! Form::open([
'url' => url()->current(),
'@submit.prevent' => 'onSubmit',
'role' => 'form',
'id' => 'form-install'
]) !!}

View File

@ -33,13 +33,13 @@
@stack('js')
<script>
<script type="text/javascript"><!--
window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(),
]); ?>
var flash_notification = {!! (session()->has('flash_notification')) ? json_encode(session()->get('flash_notification')) : 'false' !!};
</script>
//--></script>
{{ session()->forget('flash_notification') }}
@stack('scripts')