Fix deprecated constant MYSQL_ASSOC
- Add maintenance HTML file
This commit is contained in:
parent
a5a186f911
commit
e5416b0023
2 changed files with 39 additions and 1 deletions
|
@ -70,7 +70,7 @@ class dba
|
|||
|
||||
$r = array();
|
||||
if ($result->num_rows) {
|
||||
while ($x = $result->fetch_array(MYSQL_ASSOC)) {
|
||||
while ($x = $result->fetch_array(MYSQLI_ASSOC)) {
|
||||
$r[] = $x;
|
||||
}
|
||||
$result->free_result();
|
||||
|
|
38
maintenance.html
Normal file
38
maintenance.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
<!DOCTYPE html >
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="Friendica Directory" href="/opensearch" />
|
||||
|
||||
<title>Friendica Directory</title>
|
||||
<link rel="shortcut icon" href="/images/friendica-32.png" />
|
||||
<link rel="apple-touch-icon" href="/images/friendica-128.png"/>
|
||||
|
||||
<link href="/assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/assets/css/awesome/font-awesome.min.css?v=4.3.0" rel="stylesheet" type="text/css">
|
||||
|
||||
<script type="text/javascript" src="/assets/js/jquery/jquery.min.js?v=1.11.2"></script>
|
||||
<script type="text/javascript" src="/assets/js/main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<a class="hamburger mobile"><i class="fa fa-bars"></i></a>
|
||||
<nav id="links">
|
||||
<div class="viewport">
|
||||
</div>
|
||||
</nav>
|
||||
<div class="homepage-wrapper">
|
||||
<h1 class="header">
|
||||
Friendica <br> Directory
|
||||
</h1>
|
||||
<h2>
|
||||
Directory under maintenance
|
||||
</h2>
|
||||
|
||||
<p class="about">
|
||||
The Friendica Directory is unavailable at this time, please connect with <a href="https://friendica.mrpetovan.com/profile/hypolite">hypolite@friendica.mrpetovan.com</a> for updates about its status.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue