summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-01-25 18:50:29 +0100
committerAndrew Dolgov <[email protected]>2008-01-25 18:50:29 +0100
commit34459667e259eb01257a73a4c30bff0ba2c3b3d5 (patch)
tree7eb1357ba017d29391872a539e84468f3059814c /functions.php
parent16211ddbf24c978d88d8eb434ab57d7824827dbd (diff)
new option: ALLOW_SELECT_UPDATE_METHOD (bump config ver)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php10
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']) {