diff options
| author | Christian Fowler <spider@viovio.com> | 2005-06-28 07:45:43 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2005-06-28 07:45:43 +0000 |
| commit | bd10b08318a6c42661f584dee8cea4d06bd6b591 (patch) | |
| tree | b61b3cf499323b6c3e2705758117ea11508229a0 /thumbnailer.php | |
| parent | 31cd95eaa1359a33a637cda2fd0bfe3068115a4e (diff) | |
| download | fisheye-bd10b08318a6c42661f584dee8cea4d06bd6b591.tar.gz fisheye-bd10b08318a6c42661f584dee8cea4d06bd6b591.tar.bz2 fisheye-bd10b08318a6c42661f584dee8cea4d06bd6b591.zip | |
Merge recent changes from R1 into HEAD
Diffstat (limited to 'thumbnailer.php')
| -rwxr-xr-x | thumbnailer.php | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/thumbnailer.php b/thumbnailer.php index ea20b24..1ea292a 100755 --- a/thumbnailer.php +++ b/thumbnailer.php @@ -1,10 +1,18 @@ <?php - // usage is simple: - // php -q thumbnailer.php [# of thumbnails] - // example: - // php -q thumbnailer.php 20 - // suggested crontab entry runs the thumbnailer every minute: - // * * * * * apache php -q /path/to/bitweaver/fisheye/thumbnailer.php 20 >> /var/log/httpd/thumbnail_log +/** + * Thumbnailer + * + * usage is simple: + * php -q thumbnailer.php [# of thumbnails] + * example: + * php -q thumbnailer.php 20 + * suggested crontab entry runs the thumbnailer every minute: + * * * * * * apache php -q /path/to/bitweaver/fisheye/thumbnailer.php 20 >> /var/log/httpd/thumbnail_log + * + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/thumbnailer.php,v 1.3 2005/06/28 07:45:42 spiderr Exp $ + * @package fisheye + * @subpackage functions + */ global $gBitSystem, $_SERVER; @@ -14,6 +22,9 @@ $_SERVER['HTTP_HOST'] = ''; $_SERVER['SERVER_NAME'] = ''; +/** + * required setup + */ if( !empty( $argc ) ) { // reduce feedback for command line to keep log noise way down define( 'BIT_PHP_ERROR_REPORTING', E_ERROR | E_PARSE ); |
