php index setting fix

fixes #28
This commit is contained in:
Szekeres Bálint
2018-11-18 09:56:32 +01:00
parent 2a3b983c83
commit 0579ab5b84
2 changed files with 4 additions and 2 deletions

View File

@@ -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';
}