<?php
//
// Scry - Simple PHP Photo Album
// Copyright 2004 James Byers <jbyers@users.sf.net>
// http://scry.org
//
// Scry is distributed under a BSD License.  See LICENSE for details.
//
// $Id: setup.php,v 1.13 2004/10/02 01:25:38 jbyers Exp $
//
 
/***************************************************************************
 *                                                                         *
 * The first four values must be set to install Scry.  See README.         *
 *                                                                         *
 ***************************************************************************/

$CFG_url_scry    = 'http://www.pswired.com/photography/scry/';
$CFG_url_images  = 'http://www.pswired.com/photography/photos/';

$CFG_path_scry   = '/var/www/html/pswired.com/photography/scry';
$CFG_path_images = '/var/www/html/pswired.com/photography/photos';

$CFG_template    = 'default';

$CFG_album_title = 'Photo Albums';
$CFG_album_name  = 'photos';

/***************************************************************************
 *                                                                         *
 * No further configuration changes are needed for a standard Scry setup.  *
 *                                                                         *
 ***************************************************************************/

// default image sizes for thumbnails and image view page
//
$CFG_thumb_width   = 100;
$CFG_thumb_height  = 75;

$CFG_image_width   = 640;
$CFG_image_height  = 480;

// images per page in list view; 0 for unlimited
//
$CFG_images_per_page = 50;

// valid file extensions - case insensitive (jpg will also match JPG)
//
$CFG_image_valid = array("jpg", "jpeg");

// are the cache and images directories outside the webserver's docroot?
//
$CFG_cache_outside_docroot  = false;
$CFG_images_outside_docroot = false;

// CFG_resize_fast set to true will make photo resizing faster but lower quality
// CFG_use_old_gd will use pre-2.0 GD functions
//
$CFG_resize_fast = false;
$CFG_use_old_gd  = false;

// URL variable mode, see DESIGN for details; if in doubt, use 'get'
//   'get'  for GET variables
//   'path' for path parsing
//   
$CFG_variable_mode = 'get';

// enable resized image cache in cache directory / directories
//
$CFG_cache_enable = true;

// use exifer library for exif tag parsing
// http://www.jakeo.com/software/exif/
//
// scry + exifer installation:
//   - download and unzip the library 
//   - copy 'exif.php' and the 'makers' directory into the scry directory
//   - set $CFG_use_exifer to true
//   - note that exifer uses 'short' PHP tags; depending on your server
//     configuration, you may have to change '<?' to '<?php' at the 
//     beginning of exif.php and makers/*.php
//   - note that PHP exif support is NOT required to use exifer
//
$CFG_use_exifer = true;

// turn on for debugging output on the image view
// note: when on, images will appear broken and output text
//
$CFG_debug_image = false;

// derived URLs and paths
//
$CFG_url_album     = rtrim($CFG_url_scry, '/')  . '/index.php';
$CFG_path_cache    = rtrim($CFG_path_scry, '/') . '/cache';
$CFG_path_template = rtrim($CFG_path_scry, '/') . '/templates/' . $CFG_template;
$CFG_url_cache     = rtrim($CFG_url_scry, '/')  . '/cache';
$CFG_url_template  = rtrim($CFG_url_scry, '/')  . '/templates/' . $CFG_template;

?>
