X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCdb.php;h=604774853cf22385fa9a9dd859c0bb172c2e81a5;hb=545d854a39928a12c1e4fa63edec9b5fc6f1c46f;hp=a65462f78c3dedf8559294b9eb015f4f1a8b6705;hpb=7b79d94515878de5ec64adb1bdf7686f805f3d60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Cdb.php b/includes/Cdb.php index a65462f78c..604774853c 100644 --- a/includes/Cdb.php +++ b/includes/Cdb.php @@ -98,7 +98,7 @@ class CdbReader_DBA { function __construct( $fileName ) { $this->handle = dba_open( $fileName, 'r-', 'cdb' ); if ( !$this->handle ) { - throw new MWException( 'Unable to open DB file "' . $fileName . '"' ); + throw new MWException( 'Unable to open CDB file "' . $fileName . '"' ); } } @@ -125,7 +125,7 @@ class CdbWriter_DBA { $this->tmpFileName = $fileName . '.tmp.' . mt_rand( 0, 0x7fffffff ); $this->handle = dba_open( $this->tmpFileName, 'n', 'cdb_make' ); if ( !$this->handle ) { - throw new MWException( 'Unable to open DB file for write "' . $fileName . '"' ); + throw new MWException( 'Unable to open CDB file for write "' . $fileName . '"' ); } }