Home  >  Q&A  >  body text

Resetting __STATIC__ is invalid and index.html cannot be imported normally.

In the config under the module admin, resetting __STATIC__ is invalid. index.html cannot be imported normally. It has been checked that there are no errors, but the page shows that it cannot be imported.

蒋思明蒋思明2344 days ago1285

reply all(2)I'll reply

  • 蒋思明

    蒋思明2018-06-12 05:10:13

    <?php//Configuration file of the background module return [ // Replace the view output string content with 'view_replace_str' => [ //Reset _STATIC__ constant '__STATIC__' => 'static/admin', ], ];The current problem is that the welcome page style cannot be loaded, and the reset static constant must be changed to the above background main page to display normally. There is one less/. Looking at the message header, it is obvious that the path is wrong. So the background page displays as follows: I don’t know where to start with this, and I hope you can help me analyze it. Thanks.

    reply
    1
  • 无忌哥哥

    无忌哥哥2018-06-11 17:51:51

    Can you post the detailed error report?

    reply
    0
  • Cancelreply