diff options
author | Andrew Dolgov <[email protected]> | 2008-01-25 18:50:29 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-01-25 18:50:29 +0100 |
commit | 34459667e259eb01257a73a4c30bff0ba2c3b3d5 (patch) | |
tree | 7eb1357ba017d29391872a539e84468f3059814c /functions.php | |
parent | 16211ddbf24c978d88d8eb434ab57d7824827dbd (diff) |
new option: ALLOW_SELECT_UPDATE_METHOD (bump config ver)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 10 |
1 files changed, 7 insertions, 3 deletions
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']) { |