Location: PHPKode > scripts > PHPhotoalbum > phphotoalbum/config.inc.php
<?
/*************************************************
 * PHPhotoalbum v0.5
 * by: Henning Støverud
 * e-mail: hide@address.com
 * URL: http://www.stoverud.com/PHPhotoalbum/
 *************************************************/


// Galleryname
$config['galleryname'] = "My Photoalbum";


// ADMIN LOGIN
$config['admin_username'] = "admin"; // Username for adminpages
$config['admin_password'] = "admin"; // Change this password!!!


// DATABASE SETTINGS
$config['dbserver'] = "localhost";	// Your databaseserver
$config['dbuser'] = "mysqlusr";		// Your mysql username
$config['dbpass'] = "mysqlpasswd";	    // Your mysql password
$config['dbname'] = "PHPhotoalbum";   // Your mysql databasename

$config['TABLE_PICTURES'] = "album_pictures";	// Tablename for pictures
$config['TABLE_ALBUMS'] = "album_albums";		// Tablename for albums
$config['TABLE_COMMENTS'] = "album_comments";	// Tablename for comments


// DIRECTORY SETTINGS
// If you don't know what values to use, open the file installation.php in your
// webbrowser. It will give you a suggestion on what to write.
$config['webdir'] = "/PHPhotoalbum/"; // Full web path to dir with the php files
$config['albumdir'] = "/PHPhotoalbum/albums/"; // Full web path to album dir on webserver
$config['fullpath'] = "/home/user/PHPhotoalbum/albums/"; // Full Unix/Windows path to albumdir


// THUMBNAILS
$config['thumb_method'] = "im";     // Use ImageMagick for thumbnail creation (Best quality)
//$config['thumb_method'] = "gd2";   // GD >= 2.0.1. True color!
//$config['thumb_method'] = "gd1";  // GD 1.x

$config['imagemagick_path'] = "/usr/bin/"; // Directory where the command "convert" is located
$config['picture_quality'] = 80;	// Picture quality in %. 100% is best quality.
$config['filetypes'] = array("jpg", "jpeg", "gif", "png", "bmp"); // Allowed filetypes


$config['thumbrows'] = "3";			// Number of rows on thumbnailpage (NOT YET IMPLEMENTED)
$config['thumbcols'] = "4";			// Number of cols on thumbnailpage
$config['thumb_width'] = "90";
$config['picture_width'] = "400";

$config['number_in_toplist'] = "100"; // Number of entries to show on the statistics page





// LAYOUT
$config['color_main'] = "#FFe7c6";
$config['color_nav'] = "#a2cafb";
$config['color_form'] = "#a2cafb";
$config['color_form_heading'] = "#cbcbcb";
$config['color_comment_heading'] = "#fed9c2";
$config['color_comment_body'] = "#fff5e1";

$config['ver'] = "0.5";				// PHPhotoalbum version

?>
Return current item: PHPhotoalbum