Please give us a short description of the bug
When updating from an old code, but also when installing completely from scratch (I guess), in the config.php file you can decide if a SMS sending system is active or not.
Expected behaviour
site working without SMS function
Actual behaviour
when entering user options, the file vendor/autoload.php is called, and since it is missing, the page is not loading
Steps to reproduce
enter in user options when the SMS supoprt is not present
in file lib/sms.php the file is called without checking if it exists or not.
require_once('vendor/autoload.php'); use Twilio\Rest\Client;
but it should be like
if(file_exists('vendor/autoload.php')) require_once 'vendor/autoload.php'; use Twilio\Rest\Client;
Bug report
Please give us a short description of the bug When updating from an old code, but also when installing completely from scratch (I guess), in the config.php file you can decide if a SMS sending system is active or not.
Expected behaviour
site working without SMS function
Actual behaviour
when entering user options, the file vendor/autoload.php is called, and since it is missing, the page is not loading
Steps to reproduce
enter in user options when the SMS supoprt is not present
in file lib/sms.php the file is called without checking if it exists or not.
require_once('vendor/autoload.php'); use Twilio\Rest\Client;
but it should be like
if(file_exists('vendor/autoload.php')) require_once 'vendor/autoload.php'; use Twilio\Rest\Client;