Fix DEBUG
This commit is contained in:
parent
93918f5756
commit
05cfe96d73
4
check.pl
4
check.pl
@ -111,8 +111,8 @@ for my $f (readdir $dh)
|
|||||||
$solution{whirlpool} = <$fh>; chomp( $solution{whirlpool} );
|
$solution{whirlpool} = <$fh>; chomp( $solution{whirlpool} );
|
||||||
close $fh;
|
close $fh;
|
||||||
|
|
||||||
use Data::Dumper;
|
# use Data::Dumper;
|
||||||
print STDERR Dumper(\%solution);
|
# print STDERR Dumper(\%solution);
|
||||||
|
|
||||||
$dbh = DBI->connect("DBI:mysql:database=$db_settings{db};host=$db_settings{host};port=3306",
|
$dbh = DBI->connect("DBI:mysql:database=$db_settings{db};host=$db_settings{host};port=3306",
|
||||||
$db_settings{user}, $db_settings{pass},
|
$db_settings{user}, $db_settings{pass},
|
||||||
|
@ -21,7 +21,7 @@ function smarty_function_link($params, $template)
|
|||||||
else
|
else
|
||||||
$label = $params['label'];
|
$label = $params['label'];
|
||||||
|
|
||||||
if (!defined("DEBUG"))
|
if (!defined("DEBUG") || !DEBUG)
|
||||||
{
|
{
|
||||||
$href_de = $href;
|
$href_de = $href;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user