Why does user/register have no css and js styles? ?
爱自由
爱自由 2019-07-27 17:54:47
0
2
1363

问题.PNG

爱自由
爱自由

reply all(2)
爱自由

//输出替换

    'tpl_replace_string' => [

    '__STATIC__'=>$_SERVER['REQUEST_SCHEME'] .'://' . $_SERVER['HTTP_HOST'] . str_replace('/index.php' ,'' ,$_SERVER['SCRIPT_NAME']) . '/static',

    '__IMG__'=>$_SERVER['REQUEST_SCHEME'] .'://' . $_SERVER['HTTP_HOST'] . str_replace('/index.php' ,'' ,$_SERVER['SCRIPT_NAME']) . '/uploads',

    ],

我解决了

A_Drizzle小张

It is recommended that you use the relative path of the entry file to introduce the static file. I think the first one is no problem. You can print it on the page _STATIC_ and take a look.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template