From 7a0c6f22dc06ffcca1f715d72e4d498d599f8cab Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Mon, 8 Jun 2015 21:02:05 +0200 Subject: [PATCH] misc fixes: - extAuth should be expected in config/ and not /config/ - fixed copy/paste-error preventing purge of memcached pages - fixed 'text-shadow' on red-buttons --- includes/user.class.php | 4 ++-- pages/genericPage.class.php | 2 +- static/css/aowow.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/user.class.php b/includes/user.class.php index b6811b45..525277df 100644 --- a/includes/user.class.php +++ b/includes/user.class.php @@ -283,10 +283,10 @@ class User } case AUTH_MODE_EXTERNAL: { - if (!file_exists('/config/extAuth.php')) + if (!file_exists('config/extAuth.php')) return AUTH_INTERNAL_ERR; - require '/config/extAuth.php'; + require 'config/extAuth.php'; $result = extAuth($name, $pass, $extId); if ($result == AUTH_OK && $extId) diff --git a/pages/genericPage.class.php b/pages/genericPage.class.php index 2cc8ad3f..f1e2be26 100644 --- a/pages/genericPage.class.php +++ b/pages/genericPage.class.php @@ -680,7 +680,7 @@ class GenericPage if (CFG_CACHE_MODE & CACHE_MODE_MEMCACHED) { // on &refresh also clear related - if ($this->skipCache == CACHE_MODE_FILECACHE) + if ($this->skipCache == CACHE_MODE_MEMCACHED) { $oldMode = $this->mode; for ($i = 1; $i < 5; $i++) // page (1), tooltips (2), searches (3) and xml (4) diff --git a/static/css/aowow.css b/static/css/aowow.css index 0cb529c9..a17058ad 100644 --- a/static/css/aowow.css +++ b/static/css/aowow.css @@ -3017,7 +3017,7 @@ a.button-red i { left: -1px; top: 2px; z-index: 1; - font-style: normal; + /* font-style: normal; sarjuuk: breaks textShadow*/ color: black; }