X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fjsparse.php;h=1a2e121c0da49e279be3c0602923518988a0de76;hb=e004946b1a4eef800b940f705d9fcd9912230601;hp=c0a4dbaa32bbe8eb07c14702becf8c74426023fe;hpb=fa4924c718fc1d61c97734da3f8a6f96e5f5eba3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/jsparse.php b/maintenance/jsparse.php index c0a4dbaa32..1a2e121c0d 100644 --- a/maintenance/jsparse.php +++ b/maintenance/jsparse.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); /** * Maintenance script to do test JavaScript validity parses using jsmin+'s parser @@ -29,7 +29,7 @@ require_once( dirname( __FILE__ ) . '/Maintenance.php' ); * @ingroup Maintenance */ class JSParseHelper extends Maintenance { - var $errs = 0; + public $errs = 0; public function __construct() { parent::__construct();