diff --git a/etemplate/inc/class.solangfile.inc.php b/etemplate/inc/class.solangfile.inc.php index 603ff59562..99eb049f66 100644 --- a/etemplate/inc/class.solangfile.inc.php +++ b/etemplate/inc/class.solangfile.inc.php @@ -213,7 +213,7 @@ class solangfile { $this->special_file($app,$fd.$fn,$this->files[$fn]); } - if (strpos($fn,'.php') === False) + if (strpos($fn,'.php') === False && strpos($fn,'.js') === False) { continue; }