1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Static URL fix.

This commit is contained in:
Cameron
2017-10-25 16:14:12 -07:00
parent a2d49a1ce5
commit 3668067bb1

View File

@@ -4029,7 +4029,10 @@ class e107
{
return $this->e107_dirs[$dir.'_HTTP'];
}
return e_HTTP.$this->e107_dirs[$dir.'_DIRECTORY'];
$http = ($dir === "CACHE_IMAGE" && defined('e_MEDIA_STATIC') && defined('e_HTTP_STATIC')) ? e_HTTP_STATIC : e_HTTP;
return $http.$this->e107_dirs[$dir.'_DIRECTORY'];
}
/**