summaryrefslogtreecommitdiff
path: root/bin/dwpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dwpage.php')
-rwxr-xr-xbin/dwpage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dwpage.php b/bin/dwpage.php
index ac344dcdf..4f577d633 100755
--- a/bin/dwpage.php
+++ b/bin/dwpage.php
@@ -246,7 +246,7 @@ switch ( $OPTS->arg(0) ) {
exit(1);
}
- if ( stristr( realpath(dirname($TARGET_FN)), realpath($conf['datadir']) ) !== FALSE ) {
+ if ( stristr( realpath(dirname($TARGET_FN)), realpath($conf['datadir']) ) !== false ) {
fwrite( STDERR, "Attempt to check out file into data directory - not allowed\n");
exit(1);
}