search

Home  >  Q&A  >  body text

I put the downloaded source code on the virtual host. Many static resource paths are wrong?

Because the virtual host cannot customize the home directory,

and _'__STATIC__' => $root . '/static',

causes all static css and js to lack public Table of contents

**推广网**推广网2643 days ago1396

reply all(1)I'll reply

  • 我只是一条咸鱼哈

    我只是一条咸鱼哈2017-08-31 17:35:30

    Is the virtual machine’s system Linux? Linux is strictly case-sensitive (pay attention to the case of the path)

    reply
    0
  • **推广网

    No, it’s a path problem. The virtual host cannot customize the home directory.

    **推广网 · 2017-09-23 21:26:44
  • Cancelreply