]> granicus.if.org Git - php/commitdiff
- Properly format error message.
authorMarkus Fischer <mfischer@php.net>
Sat, 13 Apr 2002 05:33:35 +0000 (05:33 +0000)
committerMarkus Fischer <mfischer@php.net>
Sat, 13 Apr 2002 05:33:35 +0000 (05:33 +0000)
# Shouldn't this 'throw' an PEAR Error object ?

pear/Archive/Tar.php

index 5d14a0a9c60a5495b95ebb7b22c1adfe495b3d3f..84ceb110798e1e0d563430c838007c5c9f217d7d 100644 (file)
@@ -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
+?>