From 01d8a113ad801b4cdb93f7a5383a2c53f117d7d6 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Thu, 7 Nov 2013 18:34:42 +0100 Subject: [PATCH] Layout tweak. Properly check for memcached existance --- htdocs/lib/Layout.php | 8 +------- htdocs/lib/Memc.php | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/htdocs/lib/Layout.php b/htdocs/lib/Layout.php index 09032c0..08819e6 100644 --- a/htdocs/lib/Layout.php +++ b/htdocs/lib/Layout.php @@ -142,12 +142,6 @@ class Layout $(function() { $( ".toolbarbutton" ).button(); - /* - $( ".rowhighlight" ).on("mousedown", function(e) { - $(this).addClass("ui-state-disabled"); - }); - */ - }); function scrollDown(elem) { @@ -159,7 +153,7 @@ class Layout
- +
Singularity Viewer diff --git a/htdocs/lib/Memc.php b/htdocs/lib/Memc.php index 8037665..131493a 100644 --- a/htdocs/lib/Memc.php +++ b/htdocs/lib/Memc.php @@ -7,7 +7,7 @@ class Memc function init() { - if (!class_exists("Memcached")) return; + if (!class_exists("Memcached", false)) return; self::$mem = new Memcached("scr"); $servers = self::$mem->getServerList(); @@ -47,4 +47,4 @@ class Memc } } -?> \ No newline at end of file +?>