View difference between Paste ID: GWEwu5Q9 and gdqxEVTP
SHOW: | | - or go back to the newest paste.
1
<?php
2
3
	use PHPMailer\PHPMailer\PHPMailer;
4
	use PHPMailer\PHPMailer\Exception;
5
	require '/var/www/vendor/autoload.php';
6
	
7
	/* You don't need these if you include autoload.php'; */
8
	/*
9-
        
9+
	require '/var/www/PHPMailer/src/Exception.php';
10-
        		require '/var/www/PHPMailer/src/Exception.php';
10+
        require '/var/www/PHPMailer/src/PHPMailer.php';
11-
        		require '/var/www/PHPMailer/src/PHPMailer.php';
11+
        require '/var/www/PHPMailer/src/SMTP.php';
12-
        		require '/var/www/PHPMailer/src/SMTP.php';
12+
	*/
13
	
14-
        		require '/var/www/vendor/autoload.php';
14+
15
16
    		public function sendConfirm($to, $code, $username) {
17
18
			... OTHER CODE ...        		
19
	
20
    		}
21
	}
22
23
?>