Location: PHPKode > projects > Php4dvd - movie database > php4dvd/config/config.default.php

    This file is part of php4dvd.

    php4dvd is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    php4dvd is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with php4dvd. If not, see <http://www.gnu.org/licenses/>.

 * This is the config file. Here you can adjust the site by changing the values below.
$settings = array();

 * The error level of PHP. Changing this is NOT needed.

 * The database settings.
 * Fill in the hostname of the databse, the databse name and the username and password to connect. 
$settings['db'] = array();
$settings['db']['host'] = "localhost";
$settings['db']['name'] = "php4dvd";
$settings['db']['user'] = "root";
$settings['db']['pass'] = "";

 * The location of the images (movie image and cover)
$settings["foto"]["movies"] = "./movies/";
$settings["foto"]["covers"] = $settings["foto"]["movies"]."covers/";

 * Thumbnails are made of the covers you upload. These are resized to a maximum width and height.
$settings["foto"]["tn_maxwidth"] = 200;
$settings["foto"]["tn_maxheight"] = 800;

 * Can guest visitors view your movies? If you only want users with a login to view your movies, set this to false.
$settings["user"]["guestview"] = true;

 * Smarty settings. 
 * The directory of the template engine Smarty. Default values will do fine.
$template_name = "default";

$smartyroot = $loc."/smarty/";
$settings["smarty"]	= array();
$settings["smarty"]["template_dir"]	= $loc."/tpl/".$template_name."/";
$settings["smarty"]["template_include_dir"] = "tpl/".$template_name."/";
$settings["smarty"]["compile_dir"]	= $smartyroot."/compiled/";
Return current item: Php4dvd - movie database