Browse Source

- Properly format error message.

# Shouldn't this 'throw' an PEAR Error object ?
experimental/new_ui_api
Markus Fischer 25 years ago
parent
commit
e96a657f8d
  1. 8
      pear/Archive/Tar.php

8
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
// }}}
}
?>
?>
Loading…
Cancel
Save