请大家,我真的需要你的帮助。
我尝试将一些 PHP 代码添加到# First, map the content tree to ./web-content
# ...
# Now initialize a repo
mkdir repo-init
cd repo-init
git init
# Import the web content into the repo; must be in outage window
mv ../web-content/* .
git add .
git commit
# Re-make the repo as a "mirror" to remove the default work tree
cd ..
git clone --mirror repo-init repo
rm -rf repo-init
cd repo
git remote remove origin
# Now check the content back out to the server
git worktree add ../web-content master
# outage window can now end
文件中,但是当我删除我输入的内容时出现此错误:
解析错误:语法错误,意外'<'在/home/totconsu/public_html/wp-content/themes/shopkeeper/functions.php第1028行
代码是:
Appearance > Editor > functions.php
请我被卡住了......(