编辑“Gallery:下载:清除脚本(Cleanup Script)”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
[[category:Downloads]] | [[category:Downloads]] | ||
__NOTOC__ | __NOTOC__ | ||
= | =Bharat's Cleanup Script= | ||
Author: Bharat Mediratta | |||
== | ==Description== | ||
This script allows you to change the permissions on old album or g2data directories so that you can delete them. | |||
== | ==Compatibility== | ||
Gallery 1 and Gallery 2 | |||
== | ==Usage== | ||
Because Gallery runs as part of the webserver, any files it creates | |||
are owned by the webserver process. If you want to modify those | |||
files yourself, you need to get the webserver to change the permissions | |||
on them so that you have access. That's what this script is for. | |||
Download this file, unzip it and put it on your webserver as cleanup.php<br /> | |||
Open it in your browser, and enter the path to your albums directory and this script | |||
will make every file in that path (that it can access) writable by everybody. | |||
After that, you should be able to delete the files manually via your FTP client or via the shell. | |||
== | ==Download== | ||
[[Media:Cleanup-1.1.zip|Download Cleanup-1.1.zip]] | [[Media:Cleanup-1.1.zip|Download Cleanup-1.1.zip]] |