Sample main configuration file. More...
Enumerations | |
enum | temp_dir |
Functions | |
if(!isset($baseurl)) | GetIncludes ($dir) |
Variables | |
$server = "localhost" | |
$db = "freerealty" | |
$table_prefix = "" | |
$user = "fr" | |
$password = "fr" | |
$setup_link = mysql_connect($server, $user, $password) |
This file can be used by copying or renaming it to common.php. Most configuration has been moved to the database. This should make the db connection, pull configuration options from the db. Admin users can change the configuration through the admin interface.
if (!isset($baseurl)) GetIncludes | ( | $ | dir | ) |
Get the initial configuration data from the database Contributed by Martin Purcell Tweaks by Patrick Fleming. This function reads through the includes directory automatically pulling in files that end in php
$db = "freerealty" |
Database name
$password = "fr" |
Database password
$table_prefix = "" |
Defaults to no prefix. This allows you to use the same database for more than one installation, especially helpful on a shared host
Referenced by property_edit::add().
$user = "fr" |
Database user name