From: Markus Fischer Date: Sat, 13 Apr 2002 05:33:35 +0000 (+0000) Subject: - Properly format error message. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~671 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e96a657f8d0590264d39e1be332464d0f57418a9;p=php - Properly format error message. # Shouldn't this 'throw' an PEAR Error object ? --- diff --git a/pear/Archive/Tar.php b/pear/Archive/Tar.php index 5d14a0a9c6..84ceb11079 100644 --- a/pear/Archive/Tar.php +++ b/pear/Archive/Tar.php @@ -72,9 +72,9 @@ class Archive_Tar extends PEAR @dl($extname . $dlext); } if (!extension_loaded($extname)) { - die("The extension '$extname' couldn't be loaded. ". - 'Probably you don\'t have support in your PHP '. - 'to this extension'); + die("The extension '$extname' couldn't be found.\n". + "Please make sure your version of PHP was built". + "with '$extname' support.\n"); return false; } } @@ -1124,4 +1124,4 @@ class Archive_Tar extends PEAR // }}} } -?> \ No newline at end of file +?>