summaryrefslogtreecommitdiff
path: root/bin/wantedpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wantedpages.php')
-rwxr-xr-xbin/wantedpages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/wantedpages.php b/bin/wantedpages.php
index b94539373..aa0e1818d 100755
--- a/bin/wantedpages.php
+++ b/bin/wantedpages.php
@@ -62,7 +62,7 @@ function dw_get_pages($dir) {
$pages = array();
$dh = opendir($dir);
- while ( FALSE !== ( $entry = readdir($dh) ) ) {
+ while ( false !== ( $entry = readdir($dh) ) ) {
$status = dw_dir_filter($entry, $dir);
if ( $status == DW_DIR_CONTINUE ) {
continue;
@@ -86,7 +86,7 @@ function dw_internal_links($page) {
$instructions = p_get_instructions(file_get_contents($page['file']));
$links = array();
$cns = getNS($page['id']);
- $exists = FALSE;
+ $exists = false;
foreach($instructions as $ins){
if($ins[0] == 'internallink' || ($conf['camelcase'] && $ins[0] == 'camelcaselink') ){
$mid = $ins[1][0];