And we now have CSSMin
[lhc/web/wiklou.git] / maintenance / purgeOldText.php
index 9e078b8..ee6f56e 100644 (file)
@@ -21,7 +21,7 @@
  * @author Rob Church <robchur@gmail.com>
  */
 
-require_once( "Maintenance.php" );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 
 class PurgeOldText extends Maintenance {
        public function __construct() {
@@ -31,7 +31,7 @@ class PurgeOldText extends Maintenance {
        }
        
        public function execute() {
-               $this->purgeRedundantText( $this->hasOption('purge') );
+               $this->purgeRedundantText( $this->hasOption( 'purge' ) );
        }
 }