Skip to content

Commit

Permalink
fixed bug: File '' not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmoke26 committed Aug 19, 2016
1 parent 2b3df61 commit 16dde4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cdn.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ protected function buildComponentsCache () {
}

// @property `configs` : load CDN components config files
if ( is_array($this->configs) && !count($this->configs) ) {
if ( is_array($this->configs) && !empty($this->configs) ) {

foreach ( $this->configs as $cfg ) {

Expand Down

0 comments on commit 16dde4a

Please sign in to comment.