Gallery: 下载:清除脚本(Cleanup Script):修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: category:Downloads __NOTOC__ =Bharat's Cleanup Script= Author: Bharat Mediratta ==Description== This script allows you to change the permissions on old album or g2data directories so...)
 
(没有差异)

2008年10月11日 (六) 11:11的版本


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
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

Download Cleanup-1.1.zip