From eee250435973ad3fcb77e1d35ede670cd1dfde24 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 14 Jul 2016 08:43:13 +0200 Subject: [PATCH] Add workaround for duplicate constants warning --- Changelog | 1 + nntmux/config/Configure.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 91f2f36bc..817a6e8b6 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2016-07-14 DariusIII + * Chg: Add workaround for duplicate constants warning * Chg: Create gitignore for new configuration folder 2016-07-13 DariusIII * Chg: Use searchname and not animeTitle in viewanime.tpl's diff --git a/nntmux/config/Configure.php b/nntmux/config/Configure.php index 2bdfe1354..1cee62cc1 100644 --- a/nntmux/config/Configure.php +++ b/nntmux/config/Configure.php @@ -88,7 +88,7 @@ class Configure } unset($current_settings_file_version); } - } else { + } else if (!defined('ITEMS_PER_PAGE')) { define('ITEMS_PER_PAGE', '50'); define('ITEMS_PER_COVER_PAGE', '20'); define('NN_ECHOCLI', true);