php index setting fix

fixes #28
pull/32/head
Szekeres Bálint 6 years ago
parent 2a3b983c83
commit 0579ab5b84

@ -327,6 +327,9 @@
$scope.data.index = 'index.html';
$scope.data.fallback_html = true;
break;
case 'backend':
$scope.data.index = 'index.php';
break;
case 'spa':
$scope.data.index = 'index.html';
$scope.data.fallback_html = true;
@ -518,7 +521,6 @@
if (!$scope.data.php) {
$scope.defaultData.index = 'index.html';
$scope.data.index = 'index.html';
} else {
$scope.defaultData.index = 'index.php';
}

@ -437,7 +437,7 @@
</div>
</div>
<div class="tab-pane tab-routing" ng-class="{ 'active': tab === 'routing' }">
<fieldset class="form-group">
<fieldset class="form-group" ng-if="isPHP()">
<div class="row">
<legend class="col-sm-3 col-form-label col-form-label-sm">
<code tooltips tooltip-template="Defines the file that will be used as an index.">index</code>

Loading…
Cancel
Save