} else {
$this->parent->showStatusMessage( $status );
}
+ return '';
}
}
}
public function getFileContents() {
- $file = dirname( __FILE__ ) . '/../../' . $this->getFileName();
+ $file = __DIR__ . '/../../' . $this->getFileName();
if( ! file_exists( $file ) ) {
return wfMessage( 'config-nofile', $file )->plain();
}