view_replace_str
jim713
jim713 2017-10-10 13:35:30
0
4
1363

Steps to replace string in view output

I need to add '.' in front of /static to make it work.

For example: '__STATIC__' => './static/admin/assets',

I don’t know why

jim713
jim713

reply all(3)
Geek_Ma

This place just doesn’t fit. My addition doesn’t work either. I added it before __STATIC__ after the replacement. It’s normal

  • reply Me too, not here either
    author 2018-09-28 00:52:09
nearest

/is the root directory

./is the current directory

What you write is not the root directory, but the current directory

路过

"/" is the absolute path (the project root directory)

"./" the relative path (the current directory of the file)

"../" the relative path (the parent directory of the file) )

I can only help you so much, just figure it out for yourself

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