<?php
$config = array();
//$config["root-path"] = substr($_SERVER['SCRIPT_NAME'],0,strrpos($_SERVER['SCRIPT_NAME'],'/')+1);
$config["root-path"] = dirname($_SERVER['SCRIPT_NAME']).'/';
$config["lib-path"] = "lib/";
$config["image-path"] = "img/";
$config["gallery-path"] = "examples/integrated/";
$config["gallery-extensions"] = array("jpg", "jpeg", "gif", "bmp", "png");
$config["gallery-excludes"] = array(".svn");
$config["gallery-column-count"] = 4;
$config["gallery-flat"] = false;
$config["cache"] = true;
$config["cache-path"] = "cache/";
$config["image-extensions"] = array("jpg", "jpeg", "gif", "bmp", "png");
$config["thumbnail"] = true;
$config["thumbnail-sizex"] = "125";
$config["thumbnail-sizey"] = "125";
$config["security-allow-all"] = array("url", "sizex", "sizey", "lang", "section", "subsection");
$config["security-allow-post"] = array();
$config["security-allow-get"] = array();
$config["logger-file"] = $config["cache"]."errors.txt";
// the default url when none other is given as parameter
$config["url"] = "";
?>