We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83eb1b9 commit 5407d4eCopy full SHA for 5407d4e
web/inc/main.php
@@ -4,7 +4,7 @@
4
use PHPMailer\PHPMailer\SMTP;
5
use PHPMailer\PHPMailer\Exception;
6
7
-if(!file_exists('vendor/autoload.php')){
+if(!file_exists(dirname(__FILE__).'/vendor/autoload.php')){
8
trigger_error('Unable able to load required libaries. Please run v-add-sys-phpmailer in command line');
9
echo 'Unable able to load required libaries. Please run v-add-sys-phpmailer in command line';
10
exit(1);
0 commit comments