亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

In php - the views in the ci framework are placed under the application directory. How to configure them to call these view pages?
伊謝爾倫
伊謝爾倫 2017-06-27 09:17:43
0
2
958

In the company's project, the view layer including css and js styles are written to the application directory. I would like to ask you all, how to set up the configuration file and can these style files be used?

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無(wú)限,來(lái)學(xué)PHP伐。

reply all(2)
滿天的星座

No configuration file required, write directly in the view

require(__DIR__ . '/..../xxxx.css');

Like this

Of course, there is also a method based on server configuration. In the project domain name configuration, make address aliases for CSS/JS and images, such as mapping http://xxx/css/* to the css of the project application Table of contents.

代言

include() and require() should both work.

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