mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
staticUrl() parser method now converts media folder URLs also.
This commit is contained in:
@@ -2665,6 +2665,7 @@ class e_parse extends e_parser
|
|||||||
$base = '';
|
$base = '';
|
||||||
|
|
||||||
$srch = array(
|
$srch = array(
|
||||||
|
e_HTTP.e107::getFolder('media'),
|
||||||
e_PLUGIN_ABS,
|
e_PLUGIN_ABS,
|
||||||
e_THEME_ABS,
|
e_THEME_ABS,
|
||||||
e_WEB_ABS,
|
e_WEB_ABS,
|
||||||
@@ -2673,6 +2674,7 @@ class e_parse extends e_parser
|
|||||||
|
|
||||||
|
|
||||||
$repl = array(
|
$repl = array(
|
||||||
|
$http.$base.e107::getFolder('media'),
|
||||||
$http.$base.e107::getFolder('plugins'),
|
$http.$base.e107::getFolder('plugins'),
|
||||||
$http.$base.e107::getFolder('themes'),
|
$http.$base.e107::getFolder('themes'),
|
||||||
$http.$base.e107::getFolder('web'),
|
$http.$base.e107::getFolder('web'),
|
||||||
|
Reference in New Issue
Block a user