Technical discuss

检查并修复文件结构

  • btt
  • [btt]
  • Topic Author
  • New Member
  • New Member
More
05 Jan 2026 14:14 #989 by btt
New Topic
# 查看当前包的结构
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

Please Log in or Create an account to join the conversation.