Fail more elegantly if toolkit is unavailable

Bevan - April 25, 2009 - 03:46
Project:Salesforce
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

It would be great if sf could fail a little more elegantly if the toolkit is not available. For example, by

<?php
drupal_set_message
('You need to add the <a href="!url">Salesforce PHP library</a> to !path', array(...));
?>

or similar, if require() fails.

#1

Bevan - July 31, 2009 - 08:33
Status:active» needs work
 
 

Drupal is a registered trademark of Dries Buytaert.