aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-05-19 13:13:23 +0000
committermistic100 <mistic@piwigo.org>2012-05-19 13:13:23 +0000
commitd52651cb6a6d1358ebed82a801a9ae556656bfc9 (patch)
treee893c8b64c32442cf8b71e84852eb30ca5f96e9d /install
parent3e7d509dd821ce22a00ba26c63536613da997b51 (diff)
remove Warning when called from upgrade_feed.php, no consequence for upgrade.php
git-svn-id: http://piwigo.org/svn/trunk@15126 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install')
-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>';