recherche

Maison  >  Questions et réponses  >  le corps du texte

thinkphp 路径问题

1.环境平台是windows,php5.6,nginx1.8.0
2.所有的引用时相对路径,但是目前页面上显示的都是绝对路径,求解

阿神阿神2896 Il y a quelques jours373

répondre à tous(2)je répondrai

  • 怪我咯

    怪我咯2017-04-10 17:36:43

    参见https://segmentfault.com/q/1010000005081396

    répondre
    0
  • PHPz

    PHPz2017-04-10 17:36:43

    你使用了 thinkphp 的 U 方法吗,如果是静态文件的话在页面上看他显示是 域名后接绝对路劲。应为你表述比较少,目前就能想到这么多了

    répondre
    0
  • Annulerrépondre