阳光网驿-企业信息化交流平台【DTC零售连锁全渠道解决方案】

 找回密码
 注册

QQ登录

只需一步,快速开始

扫描二维码登录本站

手机号码,快捷登录

老司机
查看: 1216|回复: 1

泛微eoffice的源文件中所有的引用路径都是绝对路径,为什么行的通?

[复制链接]
  • TA的每日心情
    奋斗
    2014-10-23 11:16
  • 签到天数: 140 天

    [LV.7]常住居民III

    发表于 2012-5-18 12:39:17 | 显示全部楼层 |阅读模式
    泛微eoffice的源文件中所有的引用路径都是绝对路径,为什么行的通?
    我研究好长时间了,未得其果,请各位赐教!!!

    1. include_once( "inc/reg_check.php" );
    2. if ( $OA_REG_ON != 2 )
    3. {
    4.     exit( );
    5. }
    6. $user_lang = $_REQUEST['USER_LANG'] != "" ? $_REQUEST['USER_LANG'] : "cn";
    7. $_sess['lang'] = $user_lang;
    8. if ( $type == "ispirit" )
    9. {
    10.     $gotourl = "/ispirit/myoa.php";
    11. }
    12. else
    13. {
    14.     $gotourl = "login.php";
    15. }
    16. include_once( "lang/".$_sess['lang']."/other.lang.php" );
    17. include_once( "lang/".$_sess['lang']."/common.lang.php" );
    18. include_once( "inc/conn.php" );
    19. include_once( "inc/utility.php" );
    20. include_once( "inc/utility_all.php" );
    21. include_once( "api/attend.class.php" );
    复制代码

    楼主热帖
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    奋斗
    2017-5-12 23:41
  • 签到天数: 103 天

    [LV.6]常住居民II

    发表于 2012-7-5 08:08:48 | 显示全部楼层
    没用过这个OA,但也是PHP的味道。改天试试
    启用邀请码注册,提高发帖质量,建设交流社区
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表