Technical discuss

检查并修复文件结构

  • btt
  • [btt]
  • 帖子作者
  • 新手上路
  • 新手上路
更多
2026-01-05 14:14 #989 by btt
新帖
# 查看当前包的结构
Code:
cd /tmp mkdir check_structure cd check_structure unzip -q /var/www/html/pkg_socialpay_j5.zip
Code:
echo "=== 当前 com_socialauth 目录结构 ===" find com_socialauth -type f | sort
Code:
echo "" echo "=== 查找 socialauth.php 文件 ===" find com_socialauth -name "socialauth.php" -type f
Code:
echo "" echo "=== 检查 com_socialauth/socialauth.xml 中定义的文件 ===" if [ -f "com_socialauth/socialauth.xml" ]; then grep -n "socialauth.php" com_socialauth/socialauth.xml grep -n "<files" com_socialauth/socialauth.xml -A 10 fi

登录注册一个帐号 参加讨论