Start working
Modified some paths to be more generic and not require rewrite. Some instances of phase names have been changed, others are still in process.
This commit is contained in:
1 parent
eda91ff492
commit
abadd5bc38
192 files changed
+16085
-7
No files matched your search
@@ -60,6 +60,7 @@ if (!empty($phase) && isset($_POST['responsetime'])) {
|
||||
switch ($mode) {
|
||||
case 'start':
|
||||
$template = 'index.html.twig';
|
||||
$variables['start_url'] = 'index.php?mode=phase&phase='.$settings->phases[$index];
|
||||
break;
|
||||
case 'phase':
|
||||
$template = 'change.html.twig';
|
||||
@@ -69,7 +70,7 @@ switch ($mode) {
|
||||
break;
|
||||
case 'phase_next':
|
||||
$template = 'next.html.twig';
|
||||
$variables['next_url'] = 'phase/'.$settings->phases[$index];
|
||||
$variables['next_url'] = 'index.php?mode=phase&phase='.$settings->phases[$index];
|
||||
$variables['step_count'] = $index;
|
||||
break;
|
||||
case 'finish':
|
||||
@@ -162,5 +163,5 @@ if (!empty ($template)) {
|
||||
echo $twig->render($template, $variables);
|
||||
}
|
||||
else {
|
||||
header('HTTP/1.0 404 Not Found');
|
||||
//header('HTTP/1.0 404 Not Found');
|
||||
}
|
||||
Reference in new issue
Block a user