1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
4 foreach ($js as $js_file) {
5 if ($js_file[0] === '/' ||
strpos($js_file, 'http') === 0) {
6 echo '<script type="text/javascript" src="'.$js_file."\"></script>\n";
8 echo html
::script($js_file);