mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Tinymce Fix
This commit is contained in:
@@ -1105,7 +1105,8 @@ class e_jsmanager
|
||||
}
|
||||
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();
|
||||
echo '<script type="text/javascript" src="'.$path.'"></script>';
|
||||
echo "\n";
|
||||
|
Reference in New Issue
Block a user