소스 검색

更新 'public/index.php'

Me 5 년 전
부모
커밋
67c512287d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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';