<?php
+/**
+ * Native CDB file reader and writer
+ *
+ * @file
+ */
/**
* Read from a CDB file.
}
function close() {
- dba_close( $this->handle );
+ if( isset($this->handle) )
+ dba_close( $this->handle );
unset( $this->handle );
}
}
function close() {
- dba_close( $this->handle );
+ if( isset($this->handle) )
+ dba_close( $this->handle );
if ( wfIsWindows() ) {
unlink( $this->realFileName );
}