<div class="alert alert-warning"> Synchro has detected that you have missing files in your Synchro-Installation. Please <a href="files_exist.php"><b>click here</b></a> to solve this problem. </div> <?php } if (isset($longscript)) { ?> <div class="alert alert-warning"> It took over 4 seconds to run the PHP script from this site. Is there anything ok with your webserver? (Normally it takes 0-2 Seconds to run the script, in your case it took around <?php echo $diff; ?> seconds.) </div> <?php } if (Registry::checkForError()) { ?> <div class="alert alert-warning"> There are errors in the Synchro Registry. Please click <a href="self_check.php"><strong>here</strong></a> to do a self-check. </div> <?php } ?> <?php if (isset($_GET["freshupdate"]) || preg_match("/makeupdate.php/", $_SERVER['HTTP_REFERER'])) { ?> <div class="alert alert-primary"> <strong>Welcome to Synchro v<?php echo file_get_contents("version.txt"); ?>
$sdblist = removeLastTwoChars($sdblist); // Check for missing .htaccess files foreach ($htaccess as $htaccessfile) { if (file_exists($htaccessfile)) { $content = file_get_contents($htaccessfile); if ($content !== "deny from all") { $wronghtaccess[] = $htaccessfile; $details .= "File {$htaccessfile} has wrong content<br>"; } } else { $wronghtaccess[] = $htaccessfile; $details .= "File {$htaccessfile} doesn't exist<br>"; } } include "class/registry.class.php"; $registry = Registry::checkForError(true); if ($registry !== false) { $details .= $registry; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="img/favicon.png"> <title>Synchro</title>