Fix DEBUG

This commit is contained in:
nemunaire 2015-01-14 12:35:37 +01:00 committed by Nemunaire
parent 93918f5756
commit 05cfe96d73
2 changed files with 3 additions and 3 deletions

View File

@ -111,8 +111,8 @@ for my $f (readdir $dh)
$solution{whirlpool} = <$fh>; chomp( $solution{whirlpool} );
close $fh;
use Data::Dumper;
print STDERR Dumper(\%solution);
# use Data::Dumper;
# print STDERR Dumper(\%solution);
$dbh = DBI->connect("DBI:mysql:database=$db_settings{db};host=$db_settings{host};port=3306",
$db_settings{user}, $db_settings{pass},

View File

@ -21,7 +21,7 @@ function smarty_function_link($params, $template)
else
$label = $params['label'];
if (!defined("DEBUG"))
if (!defined("DEBUG") || !DEBUG)
{
$href_de = $href;