dirname(__FILE__)的用法

121 阅读1分钟

dirname(FILE)表示当前文件的绝对路径。

实例:

image.png

访问如下:

image.png