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
This commit is contained in:
Sarjuuk
2015-06-08 21:02:05 +02:00
parent 81a5a527ec
commit 7a0c6f22dc
3 changed files with 4 additions and 4 deletions

View File

@@ -283,10 +283,10 @@ class User
} }
case AUTH_MODE_EXTERNAL: case AUTH_MODE_EXTERNAL:
{ {
if (!file_exists('/config/extAuth.php')) if (!file_exists('config/extAuth.php'))
return AUTH_INTERNAL_ERR; return AUTH_INTERNAL_ERR;
require '/config/extAuth.php'; require 'config/extAuth.php';
$result = extAuth($name, $pass, $extId); $result = extAuth($name, $pass, $extId);
if ($result == AUTH_OK && $extId) if ($result == AUTH_OK && $extId)

View File

@@ -680,7 +680,7 @@ class GenericPage
if (CFG_CACHE_MODE & CACHE_MODE_MEMCACHED) if (CFG_CACHE_MODE & CACHE_MODE_MEMCACHED)
{ {
// on &refresh also clear related // on &refresh also clear related
if ($this->skipCache == CACHE_MODE_FILECACHE) if ($this->skipCache == CACHE_MODE_MEMCACHED)
{ {
$oldMode = $this->mode; $oldMode = $this->mode;
for ($i = 1; $i < 5; $i++) // page (1), tooltips (2), searches (3) and xml (4) for ($i = 1; $i < 5; $i++) // page (1), tooltips (2), searches (3) and xml (4)

View File

@@ -3017,7 +3017,7 @@ a.button-red i {
left: -1px; left: -1px;
top: 2px; top: 2px;
z-index: 1; z-index: 1;
font-style: normal; /* font-style: normal; sarjuuk: breaks textShadow*/
color: black; color: black;
} }