zoukankan      html  css  js  c++  java
  • UCenter 1.5.0 整合 Bug


    我在做asp,aspx等非php产品跟php的dz整合时,出现一处产品整合Bug,如果未涉及此类问题请不必读下文.

    虽然支持 uc.php的更名但是 代码中并未支持到其他扩展名

    1 foreach($this->cache['apps'as $appid => $app) {
    2                     if($app['synlogin'&& $app['appid'!= $this->app['appid']) {
    3                         $synstr .= '<script type="text/javascript" src="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlogin&username='.$this->user['username'].'&uid='.$this->user['uid'].'&password='.$this->user['password']."&time=".$this->time, 'ENCODE', $app['authkey'])).'" reload="1"></script>';

    因此,此处为Bug应修正为

    control/user.php onsynlogin函数

     在其他整合函数中也存在类似问题.

  • 相关阅读:
    zoj1137 poj1466
    poj3041
    zoj1455
    hdu1160 FatMouse's Speed
    zoj2770
    hdu1469
    hdu3169
    Mapped exception to response: 500 (Internal Server Error)
    Mapped exception to response: 500 (Internal Server Error)
    object is not a function
  • 原文地址:https://www.cnblogs.com/rocklau/p/1492901.html
Copyright © 2011-2022 走看看