From cf74192c7ce4d5ed5c265378dc8da704b7dacb19 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 17 Feb 2010 13:59:35 -0200 Subject: Using config.inc.php.dist By using config.inc.php.dist instead of config.inc.php it's possible to split custom configuration from the source code. --- .gitignore | 2 ++ www/inc/config.inc.php | 84 --------------------------------------------- www/inc/config.inc.php.dist | 84 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 84 deletions(-) create mode 100644 .gitignore delete mode 100644 www/inc/config.inc.php create mode 100644 www/inc/config.inc.php.dist diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87d366d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*swp +www/inc/config.inc.php diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php deleted file mode 100644 index 14e8ad8..0000000 --- a/www/inc/config.inc.php +++ /dev/null @@ -1,84 +0,0 @@ -1 is smaller, <1 is bigger - $PNthumbScale = 1.5; -# Photos Copyright -# CHANGE THIS! I am not trying to take over the world ;) - $copy = "Copyright © 1999-2005 Jakub Steiner"; -#app info - $app["name"] = "Original"; // opensource remote image gallery, - // initialy not as lovely - $app["url"] = "http://jimmac.musichall.cz/original.php3"; - $app["version"] = "0.12pre"; - $exif_show = array("DateTime"=>__("Time Taken"), - "Make"=>__("Camera Manufacturer"), - "Model"=>__("Camera Model"), - "FocalLength"=>__("Real Focal Length"), - "FocalLengthIn35mmFilm"=>__("Focal Length Relative to 35mm Film"), - "FNumber"=>__("F Stop"), - "ExposureTime"=>__("Time of Exposure"), - "ISOSpeedRatings"=>__("Film/Chip Sensitivity"), - "Flash"=>__("Flash")); -# =========================================================================== -## Gallery Directory -# This is a path relative to the directory where original is installed -# eg. it can be "../galleries" to use a galleries dir above the original dir. - $gallery_dir="galleries"; - -#Enable this to access extended tracking functionality -#depends on sqlite -$have_sqlite = 0; - -# This controls wheather web visitors will be able to post -# comments to images -$comments = 1; - -# Access Log/Counter -# $log_access = 0; // no access logging -$log_access = 1; - -#css styles - $themes = array( - "dark" => "inc/styles/dark/dark.css", - "classic" => "inc/styles/classic/classic.css", - "gorilla" => "inc/styles/gorilla/gorilla.css" - ); - - - - -?> diff --git a/www/inc/config.inc.php.dist b/www/inc/config.inc.php.dist new file mode 100644 index 0000000..14e8ad8 --- /dev/null +++ b/www/inc/config.inc.php.dist @@ -0,0 +1,84 @@ +1 is smaller, <1 is bigger + $PNthumbScale = 1.5; +# Photos Copyright +# CHANGE THIS! I am not trying to take over the world ;) + $copy = "Copyright © 1999-2005 Jakub Steiner"; +#app info + $app["name"] = "Original"; // opensource remote image gallery, + // initialy not as lovely + $app["url"] = "http://jimmac.musichall.cz/original.php3"; + $app["version"] = "0.12pre"; + $exif_show = array("DateTime"=>__("Time Taken"), + "Make"=>__("Camera Manufacturer"), + "Model"=>__("Camera Model"), + "FocalLength"=>__("Real Focal Length"), + "FocalLengthIn35mmFilm"=>__("Focal Length Relative to 35mm Film"), + "FNumber"=>__("F Stop"), + "ExposureTime"=>__("Time of Exposure"), + "ISOSpeedRatings"=>__("Film/Chip Sensitivity"), + "Flash"=>__("Flash")); +# =========================================================================== +## Gallery Directory +# This is a path relative to the directory where original is installed +# eg. it can be "../galleries" to use a galleries dir above the original dir. + $gallery_dir="galleries"; + +#Enable this to access extended tracking functionality +#depends on sqlite +$have_sqlite = 0; + +# This controls wheather web visitors will be able to post +# comments to images +$comments = 1; + +# Access Log/Counter +# $log_access = 0; // no access logging +$log_access = 1; + +#css styles + $themes = array( + "dark" => "inc/styles/dark/dark.css", + "classic" => "inc/styles/classic/classic.css", + "gorilla" => "inc/styles/gorilla/gorilla.css" + ); + + + + +?> -- cgit v1.2.3