文件操作 - upgrade.xml
返回文件管理
返回主菜单
删除本文件
文件: /var/softaculous/txtpat/upgrade.xml
编辑文件内容
<softupgrade xmlns="http://www.softaculous.com"> <setuplocation>textpattern/index.php</setuplocation> <settings> <group> <heading>hidden</heading> <input type="hidden" name="dummy" value=""> </input> </group> </settings> <files> <exclude>textpattern/config.php</exclude> </files> <auto_upgrade>1</auto_upgrade> <notes>NOTE: Upgrades from versions below 4.2.0 will present this warning upon your very first login to the admin-side: Warning: Unknown column 'user_name' in 'where clause' select name, val from txp_prefs where prefs_id=1 AND user_name='' in /path/to/your/site/textpattern/lib/txplib_db.php on line xx This is expected behaviour for the very first login after an upgrade. Every further move in the admin side must not throw any error message.</notes> </softupgrade>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件