Explorar el Código

更新 'public/index.php'

Me hace 5 años
padre
commit
67c512287d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      public/index.php

+ 2 - 0
public/index.php

@@ -13,5 +13,7 @@
 
 // 定义应用目录
 define('APP_PATH', __DIR__ . '/../application/');
+//后台删除图片用的相对路径
+define('ADMINIMG', __DIR__ . '/../public/static/uploads/');
 // 加载框架引导文件
 require __DIR__ . '/../thinkphp/start.php';