Page MenuHomePhabricator

generateEquivset.php checking wrong directories.
Closed, ResolvedPublic

Description

Author: overlordq

Description:
fix maint script

Echoing the value of $dir from before the commandLine.inc require and after shows that it changes it. Thus all the file calls using $dir look in the wrong location.

host:/home/wiki/extensions/AntiSpoof# php generateEquivset.php
Dir before require: /home/wiki/extensions/AntiSpoof
Dir after require: /home/wiki/extensions/UserMerge/
Warning: file(/home/wiki/extensions/UserMerge//equivset.in): failed to open stream: No such file or directory in /home/wiki/extensions/AntiSpoof/generateEquivset.php on line 11

Unable to open equivset.in

change the include to before the $dir and be a bit less stringent on location.


Version: unspecified
Severity: minor

Attached:

Details

Reference
bz14751

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:10 PM
bzimport added a project: AntiSpoof.
bzimport set Reference to bz14751.
bzimport added a subscriber: Unknown Object (MLST).