tlm/config.php

36 lines
834 B
PHP

<?php
// site config
$site_name = "Todo List Manager";
$signups = "invite"; // true, false, "invite" - treats it as true if no users currently exist, invite requires an admin to invite the user
$admin_users = array(
// "username1", "username2", ...
);
// database config
$db_host = "localhost";
$db_name = "todo";
$db_username = "postgres";
$db_password = "postgres";
// DO NOT CHANGE THIS!!!
$db_info = "host=$db_host dbname=$db_name user=$db_username password=$db_password";
$db = pg_connect($db_info);
// default schema
// DON'T CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING!!!
$default_schema = array(
"general" => array(
"name" => "General",
"show_subtitle" => false,
"items" => array(
"general" => array(
"name" => "",
"display_format" => "For <b>%d</b> - %c"
)
)
)
);
?>