Autoload.php 389 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Mr_GooN
  5. * Date: 2017/10/19
  6. * Time: 11:26
  7. */
  8. namespace Mrgoon\AliyunSmsSdk;
  9. class Autoload {
  10. public static function config()
  11. {
  12. /**
  13. * include config.php
  14. */
  15. if (!defined("SMS_PATH")) {
  16. define("SMS_PATH", dirname(__FILE__) . '/');
  17. }
  18. include( SMS_PATH . 'Config.php');
  19. }
  20. }