]> git.wh0rd.org - tt-rss.git/commitdiff
remove stupid DISABLE_SESSIONS kludge, check if constant is defined, not true
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 31 Mar 2006 05:30:20 +0000 (06:30 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 31 Mar 2006 05:30:20 +0000 (06:30 +0100)
backend.php
config.php-dist
db-prefs.php
tt-rss.css

index f073dc9a3dacb073e6d5be547ecb8ea18dcac2ae..a9f79667b1b2de296bf328b3a6027e892449c10e 100644 (file)
                                "SESSION_COOKIE_LIFETIME_REMEMBER";
                }
 
-               if (defined('DISABLE_SESSIONS') && DISABLE_SESSIONS) {
+               if (defined('DISABLE_SESSIONS')) {
                        return "config: you have enabled DISABLE_SESSIONS. Please disable this option.";
                }
 
index 5344e11d089806621e2ff0dcf4077ac908a20c02..e72e52911a0842bd2933181d7489551eb9e7a8ee 100644 (file)
        define('ENABLE_UPDATE_DAEMON', false);
        // This enables different mechanism for user-triggered updates designed
        // for update daemon running in background on the server.
-       
        // This option suggests FEEDS_FRAME_REFRESH set to a small value 
        // (like 60 seconds, depending on number of users and server/bandwidth load).
 
-       define('DISABLE_SESSIONS', false);
-       // Never enable this option (kludge for daemon using tt-rss code)
-
        define('DAEMON_SLEEP_INTERVAL', 120);
        // Interval between update daemon update runs
 
index 0309f00a09c7d77382798d9fb176112a0970b979..e9aaee304aa5f6108e5c61e9e0aa9c8a42a5a170 100644 (file)
@@ -2,7 +2,7 @@
        require_once "config.php";
        require_once "db.php";
 
-       if (! DISABLE_SESSIONS) {       
+       if (!defined('DISABLE_SESSIONS')) {
                if (!$_SESSION["prefs_cache"])
                        $_SESSION["prefs_cache"] = array();
        }
index be1f5cb8850570867e79c03cdead3cd451a2c821..edbb311611dceb369659413ed1b15517566639af 100644 (file)
@@ -1073,7 +1073,6 @@ div.cdmContent a:hover {
 #fatal_error_msg {
        border : 1px solid #c0c0c0;
        background-color : #f0f0f0;
-       width : 50%;
        color : black;
        padding : 10px;
        font-weight : normal;