for example, in the root directory of the project, there is a head
directory where there is a 1.jpg
picture. I want to use this picture in the view, so how do I write the src path of the img tag?
for example, in the root directory of the project, there is a head
directory where there is a 1.jpg
picture. I want to use this picture in the view, so how do I write the src path of the img tag?
there are several methods under the root directory:
1,
<img src="/head/1.jpg" />
2,
<img src="http:///head/1.jpg" />
amount, directly / head/1.jpg
Previous: Project uses yarn build to report errors
Next: Js if you have the same object in two arrays, add attributes to the object.
all controllers of my background module admin, need operation authentication, or build operation menus, or other common operations on the premise of ignoring the intermediate key: my previous way of writing is to write a "master " controller common...
public function __call($method, $args) { if (!require_cache("{$this->addonPath}Controller AdminController.class.php")) { E("database"); } $object = Think Think::instance(" A...
" appcms taglib CmsTagLib " t ...