mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
Tinymce Fix
This commit is contained in:
@@ -1105,7 +1105,8 @@ class e_jsmanager
|
|||||||
}
|
}
|
||||||
elseif($external) //true or 'js'
|
elseif($external) //true or 'js'
|
||||||
{
|
{
|
||||||
if(strpos($path, 'http') == 0) continue; // not allowed
|
|
||||||
|
if(strpos($path, 'http') === 0) continue; // not allowed
|
||||||
$path = $tp->replaceConstants($path, 'abs').'?external=1&'.$this->getCacheId();
|
$path = $tp->replaceConstants($path, 'abs').'?external=1&'.$this->getCacheId();
|
||||||
echo '<script type="text/javascript" src="'.$path.'"></script>';
|
echo '<script type="text/javascript" src="'.$path.'"></script>';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
Reference in New Issue
Block a user