From e5416b002330fabdf9b13f0821a9456f6a968870 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 25 Jun 2017 10:17:26 -0400 Subject: [PATCH] Fix deprecated constant MYSQL_ASSOC - Add maintenance HTML file --- include/dba.php | 2 +- maintenance.html | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 maintenance.html diff --git a/include/dba.php b/include/dba.php index 89f141d8..b0f2c5d7 100644 --- a/include/dba.php +++ b/include/dba.php @@ -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(); diff --git a/maintenance.html b/maintenance.html new file mode 100644 index 00000000..5757d32d --- /dev/null +++ b/maintenance.html @@ -0,0 +1,38 @@ + + + + + + + + + Friendica Directory + + + + + + + + + + + + +
+

+ Friendica    
    Directory +

+

+ Directory under maintenance +

+ +

+ The Friendica Directory is unavailable at this time, please connect with hypolite@friendica.mrpetovan.com for updates about its status. +

+
+ +