浏览代码

Cambio de posicion de import

alejandro.lara 1 年之前
父节点
当前提交
155b0c88d5
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      class/manda_correo.php

+ 1 - 2
class/manda_correo.php

@@ -1,5 +1,5 @@
 <?php
-
+require_once('../include/phpmailer/PHPMailerAutoload.php');
 class MandaCorreos{
     public  const COORDINADOR = 1;
     public  const SUPERVISOR = 2;
@@ -72,7 +72,6 @@ class MandaCorreos{
                     '.$texto.'
                 </body>';
             
-            require_once('../include/phpmailer/PHPMailerAutoload.php');
             if($_ENV['DB_NAME'] == "paad_pruebas" || self::PRUEBAS){
                 $asunto = "PRUEBAS-".$asunto;
             }