Added a retry button to the loader required page
This commit is contained in:
parent
e7fbdaaa66
commit
17b3ad9ddd
@ -41,6 +41,8 @@ ob_start();
|
|||||||
<p><?php echo $lang['loader_required_p2']; ?></p>
|
<p><?php echo $lang['loader_required_p2']; ?></p>
|
||||||
<?php $url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]?phpinfo=1"; ?>
|
<?php $url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]?phpinfo=1"; ?>
|
||||||
<p><b><a href="<?php echo $url; ?>" target="_blank"><?php echo $url ?></a></b></p>
|
<p><b><a href="<?php echo $url; ?>" target="_blank"><?php echo $url ?></a></b></p>
|
||||||
|
|
||||||
|
<p style="margin-top: 30px;"><a class="btn btn-primary" href="javascript:window.location.reload();"><?php echo $lang['loader_required_retry']; ?></a></p>
|
||||||
<?php
|
<?php
|
||||||
$content = ob_get_clean();
|
$content = ob_get_clean();
|
||||||
require sprintf('%s/raw/layout.php', __DIR__);
|
require sprintf('%s/raw/layout.php', __DIR__);
|
||||||
|
@ -18,6 +18,7 @@ return [
|
|||||||
'license_required_title' => 'License Required',
|
'license_required_title' => 'License Required',
|
||||||
'loader_required_p1' => 'Blue Twilight uses the Source Guardian source code protection system which requires a small "loader" to be installed on your system.',
|
'loader_required_p1' => 'Blue Twilight uses the Source Guardian source code protection system which requires a small "loader" to be installed on your system.',
|
||||||
'loader_required_p2' => 'Please see <a href="https://www.sourceguardian.com/loaders.html" target="_blank">this web page</a> to download the loader for your system. You can use the "loader assistant" and provide the following URL for the PHP information:',
|
'loader_required_p2' => 'Please see <a href="https://www.sourceguardian.com/loaders.html" target="_blank">this web page</a> to download the loader for your system. You can use the "loader assistant" and provide the following URL for the PHP information:',
|
||||||
|
'loader_required_retry' => 'Click here to retry',
|
||||||
'loader_required_title' => 'Source Guardian Loader Required',
|
'loader_required_title' => 'Source Guardian Loader Required',
|
||||||
'powered_by' => 'Powered by <a href="http://www.andyheathershaw.uk/blue-twilight" target="_blank">Blue Twilight</a> - the self-hosted photo gallery software.',
|
'powered_by' => 'Powered by <a href="http://www.andyheathershaw.uk/blue-twilight" target="_blank">Blue Twilight</a> - the self-hosted photo gallery software.',
|
||||||
'upload_action' => 'Upload',
|
'upload_action' => 'Upload',
|
||||||
|
Loading…
Reference in New Issue
Block a user