]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Remove dev cache disabling
authorArthurHoaro <arthur@hoa.ro>
Sat, 26 Mar 2016 15:59:22 +0000 (16:59 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sat, 26 Mar 2016 15:59:22 +0000 (16:59 +0100)
index.php

index 74091f37703a63d90c2102da7804b6ab4e524763..dfc00fbd6c5d437ef8e074494e7443f7f0067673 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1054,7 +1054,7 @@ function renderPage()
             startsWith($query,'do='. $targetPage) && !isLoggedIn()
         );
         $cached = $cache->cachedVersion();
-        if (false && !empty($cached)) {
+        if (!empty($cached)) {
             echo $cached;
             exit;
         }