cvs: phpdoc /scripts reviewedcheck.php

From: Date: Mon, 17 Apr 2006 13:07:20 +0000
Subject: cvs: phpdoc /scripts reviewedcheck.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372709@lists.php.net to get a copy of this message
yannick Mon Apr 17 13:07:20 2006 UTC Modified files: /phpdoc/scripts reviewedcheck.php Log: - correct documentation PATH - remove wrong call to in_array http://cvs.php.net/viewcvs.cgi/phpdoc/scripts/reviewedcheck.php?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/scripts/reviewedcheck.php diff -u phpdoc/scripts/reviewedcheck.php:1.1 phpdoc/scripts/reviewedcheck.php:1.2 --- phpdoc/scripts/reviewedcheck.php:1.1 Mon Apr 17 12:46:44 2006 +++ phpdoc/scripts/reviewedcheck.php Mon Apr 17 13:07:20 2006 @@ -41,7 +41,7 @@ $LANG = $argv[1]; $date = date('r'); -$path_doc = '../'.$LANG.'/'; +$path_doc = './'.$LANG.'/'; if( !is_dir($path_doc) ) { echo 'Directory for the lang "'.$LANG.'" don\'t exist !'."\r\n"; @@ -66,7 +66,7 @@ if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { - if( is_file($dir.$file) && !in_array($file, $ignore_file) && substr($file,0,1) != '.' ) { + if( is_file($dir.$file) && substr($file,0,1) != '.' ) { if ( $file == "rsusi.txt" @@ -85,7 +85,7 @@ check_tag($dir, $file); - } elseif( is_dir($dir.$file) && $file != '.' && $file != '..' && $file != 'CVS' && !in_array($file, $ignore_file)) { + } elseif( is_dir($dir.$file) && $file != '.' && $file != '..' && $file != 'CVS' ) { check_doc($dir.$file.'/'); } }

« previous php.doc (#969372709) next »