正在显示
1 个修改的文件
包含
0 行增加
和
4 行删除
| @@ -481,10 +481,6 @@ class ProjectUpdate extends Command | @@ -481,10 +481,6 @@ class ProjectUpdate extends Command | ||
| 481 | } | 481 | } |
| 482 | $path = $arr['path']; | 482 | $path = $arr['path']; |
| 483 | 483 | ||
| 484 | - if (strpos($path, '.') !== false) { | ||
| 485 | - $path = substr($path, 0, strpos($path, '.')); | ||
| 486 | - } | ||
| 487 | - | ||
| 488 | $path_arr = explode('/', $path); | 484 | $path_arr = explode('/', $path); |
| 489 | 485 | ||
| 490 | return end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2]; | 486 | return end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2]; |
-
请 注册 或 登录 后发表评论