diff --git a/lib/exe/js.php b/lib/exe/js.php index 4d46601974355a025d3f71f1fbf6cae3ecf930d8..bec12ef7a4244d91200f708569c5c2b3ad125aba 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -166,7 +166,10 @@ function js_load($file){ // is it a include_once? if($match[1]){ $base = utf8_basename($ifile); - if($loaded[$base]) continue; + if($loaded[$base]){ + $data = str_replace($match[0], '' ,$data); + continue; + } $loaded[$base] = true; }