Skip to content

Commit 5407d4e

Browse files
committed
Use full path
1 parent 83eb1b9 commit 5407d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/inc/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use PHPMailer\PHPMailer\SMTP;
55
use PHPMailer\PHPMailer\Exception;
66

7-
if(!file_exists('vendor/autoload.php')){
7+
if(!file_exists(dirname(__FILE__).'/vendor/autoload.php')){
88
trigger_error('Unable able to load required libaries. Please run v-add-sys-phpmailer in command line');
99
echo 'Unable able to load required libaries. Please run v-add-sys-phpmailer in command line';
1010
exit(1);

0 commit comments

Comments
 (0)