1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Tinymce Fix

This commit is contained in:
Cameron
2012-11-24 16:37:00 -08:00
parent e03a97718e
commit baf8065b11

View File

@@ -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";