Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Only load js files in scanning init directory
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Mar 4, 2011
1 parent 0cb0723 commit 6eb4e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/system/controllers/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private function _ProcessScripts ( ) {

$Storage = Wob::_('Storage');

$files = $Storage->Scan ( $directory );
$files = $Storage->Scan ( $directory, 'js' );

foreach ( $files as $f => $file ) {
$inits[$file] = $client;
Expand Down

0 comments on commit 6eb4e3f

Please sign in to comment.