don't assume $CWD
$ php radioscanningtw.jidanni.org/maintenance/convertUserOptions.php
Warning: require(./commandLine.inc): failed to open stream: No such file
OK, here's the patch for this one. You might want to check the rest:
$ find . -path \*/.svn -prune -o -type f|xargs grep -h commandLine.inc|sort|uniq -c|sort -nr
49 require_once( 'commandLine.inc' ); 17 require_once( "commandLine.inc" ); 10 require_once( dirname(__FILE__).'/../commandLine.inc' ); 9 require_once 'commandLine.inc'; 4 require_once('commandLine.inc'); 4 require( dirname(__FILE__).'/../commandLine.inc' ); 3 require_once( dirname(__FILE__) . '/../commandLine.inc' ); 2 require_once(dirname(__FILE__).'/../commandLine.inc'); 2 require_once( dirname(__FILE__) . '/../commandLine.inc' ); 2 require_once "commandLine.inc"; 2 require( dirname( __FILE__ ) .'/../commandLine.inc' ); 2 require "commandLine.inc"; 2 include_once( "commandLine.inc" ); 2 include('commandLine.inc'); 1 require_once( dirname(__FILE__).'/commandLine.inc' ); 1 require_once( dirname(__FILE__).'/../maintenance/commandLine.inc' ); 1 require_once( dirname(__FILE__) . '/../maintenance/commandLine.inc' ); 1 require_once( dirname(__FILE__) . '/' . 'commandLine.inc' ); 1 require_once( dirname( __FILE__ ). '/../maintenance/commandLine.inc' ); 1 require_once( dirname( __FILE__ ) . '/commandLine.inc' ); 1 require_once( "$IP/maintenance/commandLine.inc" ); 1 require( dirname( __FILE__ ) . '/../commandLine.inc' ); 1 require( 'commandLine.inc' ); 1 require( './commandLine.inc' ); 1 require( '../commandLine.inc' ); 1 require 'commandLine.inc'; 1 * The include paths change after this file is included from commandLine.inc, 1 require_once( dirname(__FILE__).'/../maintenance/commandLine.inc' ); 1 require_once( 'commandLine.inc' );
Version: 1.16.x
Severity: normal
Attached: