git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix setting PLPcache from apache configuration
[perl/plp/.git]
/
PLP
/
Apache.pm
diff --git
a/PLP/Apache.pm
b/PLP/Apache.pm
index 6b28f949f1f0b6fd1b9ff7e6c6bc0313d148d4eb..5a9745c138c4f831c48d2ff5334d2920226de169 100644
(file)
--- a/
PLP/Apache.pm
+++ b/
PLP/Apache.pm
@@
-41,8
+41,8
@@
sub init {
$ENV{PLP_NAME} = $r->uri;
$ENV{PLP_NAME} = $r->uri;
-
our $
use_cache = $r->dir_config('PLPcache') !~ /^off$/i;
-#S
our $
use_safe = $r->dir_config('PLPsafe') =~ /^on$/i;
+
$PLP::
use_cache = $r->dir_config('PLPcache') !~ /^off$/i;
+#S
$PLP::
use_safe = $r->dir_config('PLPsafe') =~ /^on$/i;
my $path = $r->filename();
my ($file, $dir) = File::Basename::fileparse($path);
chdir $dir;
my $path = $r->filename();
my ($file, $dir) = File::Basename::fileparse($path);
chdir $dir;