aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/121-database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/db/121-database.php b/install/db/121-database.php
index 3d5192aba..4e922e393 100644
--- a/install/db/121-database.php
+++ b/install/db/121-database.php
@@ -28,6 +28,8 @@ if (!defined('PHPWG_ROOT_PATH'))
// see http://piwigo.org/doc/doku.php?id=user_documentation:htaccess_and_hotlink_in_2.4
+if (!isset($page['errors'])) $page['errors'] = array();
+
$upgrade_description = 'add/append htaccess for hotlinks';
$warning_message = 'Failed to modify <b>.htaccess</b> file, a manual intervention is needed, <a href="http://piwigo.org/doc/doku.php?id=user_documentation:htaccess_and_hotlink_in_2.4" target="_blank">click here for more information</a>';