Skip to content

Commit

Permalink
MINOR Don't fail text collection for modules without any matching PHP…
Browse files Browse the repository at this point in the history
… files (only _config.php)
  • Loading branch information
chillu committed May 1, 2012
1 parent 7b18d9d commit 0597e91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions i18n/i18nTextCollector.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ protected function processModule($module) {
//Debug::message("Processing Module '{$module}'", false); //Debug::message("Processing Module '{$module}'", false);


// Search for calls in code files if these exists // Search for calls in code files if these exists
$fileList = array();
if(is_dir("$this->basePath/$module/code")) { if(is_dir("$this->basePath/$module/code")) {
$fileList = $this->getFilesRecursive("$this->basePath/$module/code"); $fileList = $this->getFilesRecursive("$this->basePath/$module/code");
} else if($module == FRAMEWORK_DIR || substr($module, 0, 7) == 'themes/') { } else if($module == FRAMEWORK_DIR || substr($module, 0, 7) == 'themes/') {
Expand Down

0 comments on commit 0597e91

Please sign in to comment.