Skip to content

Commit 8a0fb78

Browse files
authored
feat: use private/components/stage.start.php if exists (#1266)
Change-Id: I6ea6a52be7f59c19bf61f802b961d13b23620c8b
1 parent d67ef82 commit 8a0fb78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@
5858
</div>
5959
<?php endif; ?>
6060
<?php
61+
$privateStageStart = PathUtility::getAbsolutePath('private/components/stage.start.php');
62+
$stageStart = PathUtility::getAbsolutePath('template/components/stage.start.php');
6163

62-
include PathUtility::getAbsolutePath('template/components/stage.start.php');
64+
include file_exists($privateStageStart) ? $privateStageStart : $stageStart;
6365
if (!$config['ui']['selfie_mode']) {
6466
include PathUtility::getAbsolutePath('template/components/stage.loader.php');
6567
include PathUtility::getAbsolutePath('template/components/stage.results.php');

0 commit comments

Comments
 (0)