]> git.wh0rd.org - tt-rss.git/commitdiff
tt-rss.php indicates if it is running in demo mode
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 23 Aug 2005 11:35:44 +0000 (12:35 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 23 Aug 2005 11:35:44 +0000 (12:35 +0100)
tt-rss.php

index 6731965ce508bfc24a79518941d5cab28d89c735..aa9e95570bf678d9974274f22adbf370a2efb31f 100644 (file)
@@ -7,6 +7,8 @@
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 </head>
 
+<? require_once "config.php" ?>
+
 <body onload="init()">
 
 <table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
@@ -39,6 +41,9 @@
 <tr>
        <td colspan="2" class="notify">
                <a href="">Tiny-Tiny RSS</a> v0.2-pre &copy; 2005 Andrew Dolgov
+               <? if (WEB_DEMO_MODE) { ?>
+               <br>Running in demo mode, some functionality is disabled.
+               <? } ?>
        </td>
 </td>
 </table>