NOISSUE code rearrange

This commit is contained in:
ngleader 2013-11-22 06:46:26 +09:00
parent b146e48ff5
commit bc47f19615
22 changed files with 130 additions and 159 deletions

View file

@ -377,7 +377,7 @@ class widgetController extends widget
/**
* Cache number and cache values are set so that the cache file should call
*/
if(!is_dir($this->cache_path)) FileHandler::makeDir($this->cache_path);
FileHandler::makeDir($this->cache_path);
// Wanted cache file
$cache_file = sprintf('%s%d.%s.cache', $this->cache_path, $widget_sequence, $lang_type);
// If the file exists in the cache, the file validation