CommonConst.php 494 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * CommonConst.php UTF-8
  4. * 公共常量
  5. *
  6. * @date : 2020/9/14 15:11
  7. *
  8. * @license 这不是一个自由软件,未经授权不许任何使用和传播。
  9. * @author : chenbingling <cbl@huosdk.com>
  10. * @version : H5IOS 1.0
  11. */
  12. namespace huosdk\h5ios\core\constant;
  13. class CommonConst extends \huolib\constant\CommonConst {
  14. /**
  15. * 获取包根目录
  16. *
  17. * @return string
  18. */
  19. public static function getRootDir() {
  20. return dirname(__DIR__);
  21. }
  22. }