From 34459667e259eb01257a73a4c30bff0ba2c3b3d5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Jan 2008 18:50:29 +0100 Subject: new option: ALLOW_SELECT_UPDATE_METHOD (bump config ver) --- functions.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 6cc3b6785..33a5a9077 100644 --- a/functions.php +++ b/functions.php @@ -501,10 +501,14 @@ $auth_login = db_fetch_result($result, 0, "auth_login"); $auth_pass = db_fetch_result($result, 0, "auth_pass"); - if (ENABLE_SIMPLEPIE) { - $use_simplepie = $update_method != 1; + if (ALLOW_SELECT_UPDATE_METHOD) { + if (ENABLE_SIMPLEPIE) { + $use_simplepie = $update_method != 1; + } else { + $use_simplepie = $update_method == 2; + } } else { - $use_simplepie = $update_method == 2; + $use_simplepie = ENABLE_SIMPLEPIE; } if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) { -- cgit v1.2.3