mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
iceLoc prefixed asset paths, check data dir, tweak create/read message
This commit is contained in:
@@ -37,9 +37,9 @@ if (false === $reqsPassed) {
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/resets.css?microtime=<?php echo microtime(true);?>">
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/icecoder.css?microtime=<?php echo microtime(true);?>">
|
||||
<link rel="icon" type="image/png" href="assets/images/favicon.png">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $iceURLPath;?>/assets/css/resets.css?microtime=<?php echo microtime(true);?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $iceURLPath;?>/assets/css/icecoder.css?microtime=<?php echo microtime(true);?>">
|
||||
<link rel="icon" type="image/png" href="<?php echo $iceURLPath;?>/assets/images/favicon.png">
|
||||
</head>
|
||||
|
||||
<body style="background-color: #181817" onLoad="setTimeout(function(){document.getElementById('screenContainer').style.opacity = '1'}, 50)">
|
||||
@@ -47,7 +47,7 @@ if (false === $reqsPassed) {
|
||||
<div class="screenContainer" id="screenContainer" style="background-color: #181817; opacity: 0; transition: opacity 0.1s ease-out">
|
||||
<div class="screenVCenter">
|
||||
<div class="screenCenter">
|
||||
<img src="assets/images/icecoder.png" alt="ICEcoder">
|
||||
<img src="<?php echo $iceURLPath;?>/assets/images/icecoder.png" alt="ICEcoder">
|
||||
<div class="version" style="margin-bottom: 22px">v <?php echo $settingsClass->versionNo;?></div>
|
||||
|
||||
<span style="display: inline-block; color: #fff">
|
||||
@@ -57,11 +57,20 @@ if (false === $reqsPassed) {
|
||||
if (true === in_array("phpVersion", $reqsFailures)) {
|
||||
echo "Your PHP version is " . phpversion() . "<br>and needs 7.0 or above<br><br>";
|
||||
}
|
||||
if (true === in_array("phpDataDirDoesntExist", $reqsFailures)) {
|
||||
echo "You don't seem to have a:<br>data dir<br>Please check and possibly<br>reinstall ICEcoder<br><br>";
|
||||
}
|
||||
if (true === in_array("phpDataDirNotReadable", $reqsFailures)) {
|
||||
echo "You don't seem to be able<br>to read the data dir<br><br>";
|
||||
}
|
||||
if (true === in_array("phpDataDirNotWritable", $reqsFailures)) {
|
||||
echo "You don't seem to be able<br>to write to the data dir<br><br>";
|
||||
}
|
||||
if (true === in_array("phpSession", $reqsFailures)) {
|
||||
echo "You don't appear to have a<br>working PHP session<br><br>";
|
||||
}
|
||||
if (true === in_array("phpCreateConfig", $reqsFailures)) {
|
||||
echo "Cannot create config file:<br>data/" . $settingsClass->getConfigGlobalFileDetails()['fileName'] . "<br>Please check write permissions<br>on data dir and reload page<br><br>";
|
||||
echo "Cannot create config or read file:<br>data/" . $settingsClass->getConfigGlobalFileDetails()['fileName'] . "<br>Please check write permissions<br>on data dir and reload page<br><br>";
|
||||
}
|
||||
if (true === in_array("phpFileExists", $reqsFailures)) {
|
||||
echo "You don't seem to have<br>the config file<br><br>";
|
||||
|
||||
Reference in New Issue
Block a user