Skip to content

Commit

Permalink
Merge pull request #285 from vikasprogrammer/master
Browse files Browse the repository at this point in the history
Fixed debug->log
  • Loading branch information
remdex committed Feb 12, 2014
2 parents bc923df + 4c42410 commit c88b7fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lhc_web/lib/core/lhcore/lhdesign.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public static function design($path)
$debug = ezcDebug::getInstance();
}



$instance = erLhcoreClassSystem::instance();

// Check extensions directories
Expand Down Expand Up @@ -80,7 +82,9 @@ public static function designtpl($path)
}

if ($isMultiInclude === false) {
$debug->log( $logString, 0, array( "source" => "erLhcoreClassDesign", "category" => "designtpl - $path" ) );
if ($debugOutput == true) {
$debug->log( $logString, 0, array( "source" => "erLhcoreClassDesign", "category" => "designtpl - $path" ) );
}
return $tplDir;
} else {
$multiTemplates[] = $tplDir;
Expand Down

0 comments on commit c88b7fa

Please sign in to comment.