false, 'path' => '/../forum' ); // Cache settings public static $cache = array( 'enabled' => false, 'path' => 'cache/', 'clearEvery' => 10 ); // Database settings public static $db = array( 'host' => 'localhost', 'database' => 'name', 'user' => 'usernmae', 'password' => 'passwort', 'prefix' => 'pl_' ); // Image processing and thumbnail creation public static $images = array( 'thumbsPerPage' => 125, 'imagePath' => 'data/images/', 'thumbPath' => 'data/thumbs/', 'avatarsPath' => 'data/avatars/', 'maxDownload' => 8097152, 'jpegQuality' => 100, 'sharpen' => false ); // Grid Solver settings public static $gridView = array( 'gridSize' => 64, 'gridWidth' => 12, 'borderWidth' => 2, // Definition of all Thumbnail classes --------------------------- // KEY: CSS-className // width/ height: Size of the thumb in grid units // percentage: Percentage of thumbnails in this size // dir: Name of the subdir with thumbs in this size 'classes' => array( 'b2' => array( 'width'=>1, 'height'=>1, 'percentage'=>0.6, 'dir'=>'64x64' ), 'b1' => array( 'width'=>2, 'height'=>2, 'percentage'=>0.35, 'dir'=>'128x128' ), 'b0' => array( 'width'=>3, 'height'=>3, 'percentage'=>0.05, 'dir'=>'192x192' ) ), ); } // Edit below this line only if you know what you're doing! // ----------------------------------------------------------------------- // MySQL Table names define( 'TABLE_IMAGES', Config::$db['prefix'].'images' ); define( 'TABLE_IMAGECOLORS',Config::$db['prefix'].'imagecolors' ); define( 'TABLE_USERS', Config::$db['prefix'].'users' ); define( 'TABLE_IPLOCK', Config::$db['prefix'].'iplock' ); define( 'TABLE_UPLOADLOCK', Config::$db['prefix'].'uploadlock' ); define( 'TABLE_TAGLOG', Config::$db['prefix'].'taglog' ); define( 'TABLE_COMMENTS', Config::$db['prefix'].'comments' ); // MagicQuotes undo if( function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc() ) { $_GET = array_map( 'stripslashes', $_GET ); $_POST = array_map( 'stripslashes', $_POST ); } ?>