2 /***************************************************************************
4 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
5 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
6 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
7 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2009 Jonas Häggqvist
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
24 // Max size of the theme .zip file in bytes
25 const maxzippedsize
= 1000000;
27 // Max size of the themes when unzipped in bytes
28 const maxthemesize
= 5000000;
30 // Max number of files in a theme (includes dirs)
33 // Fully qualified hostname of your server. Without trailing slash or path.
35 const hostname
= "http://home.rasher.dk";
37 // Path to the theme site, relative to your server's document root, without trailing slash (might be '')
40 // Full, absolute path to the location of the smarty template engine
41 const smartydir
= "/usr/share/php/smarty/libs";
43 // Location to store theme data. Relative to the path given above - must be web-accessible
44 const datadir
= "themes";
46 // Location of the db within the above dir. Don't make it web-accessible.
47 const dbfile
= "themes.db";
49 // Default status for newly uploaded themes. 1=approved. 0=hidden.
50 const defaultstatus
= 1;
52 // Location of 'unzip'
53 const unzip
= "/usr/bin/unzip";