Skip to content

Commit

Permalink
fix utils
Browse files Browse the repository at this point in the history
  • Loading branch information
VienosNotes committed Apr 16, 2012
1 parent 9c65722 commit f5a45d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/OrangeGrove/Utils.pm
Expand Up @@ -22,7 +22,6 @@ BEGIN {
$Data::Dumper::Useperl = 1;

sub sayd {

{
no warnings;
return unless $OrangeGrove::FLAGS{DEBUG};
Expand Down
2 changes: 1 addition & 1 deletion lib/OrangeGrove/XML/Controller.pm
Expand Up @@ -56,7 +56,7 @@ sub run {
print " => loading config.xml ...";
$self->config(OrangeGrove::XML::Config->new(XML::Simple->new->XMLin($self->proj . "config.xml")));
say "done.";
OrangeGrove::Cache->initialize(proj => $self->proj, config => $self->config);
OrangeGrove::Cache->initialize(proj => $self->proj, config => $self->config) if $OrangeGrove::FLAGS{CACHE};
my $page;
for (0.. (scalar @{$tree->{page}} -1)) {
print ("\r => Building page " . ($_ + 1) . " / " . (scalar(@{$tree->{page}})) . " ...");
Expand Down

0 comments on commit f5a45d7

Please sign in to comment.