Izartu  0.0 Initial release
Web bookmark manager based on tags.
 All Data Structures Files Functions Variables Enumerations
config.php
Go to the documentation of this file.
00001 <?php
00002 #  Izartu
00003 #
00004 #  Copyright © 2011-2012 Javier Beaumont <contact@javierbeaumont.org>
00005 #
00006 #  This file is part of Izartu.
00007 #
00008 #  Izartu is free software: you can redistribute it and/or modify
00009 #  it under the terms of the GNU Affero General Public License as
00010 #  published by the Free Software Foundation, either version 3 of the
00011 #  License, or (at your option) any later version.
00012 #
00013 #  Izartu is distributed in the hope that it will be useful,
00014 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016 #  GNU Affero General Public License for more details.
00017 #
00018 #  You should have received a copy of the GNU Affero General Public License
00019 #  along with Izartu. If not, see <http://www.gnu.org/licenses/>.
00020 
00021 ################################################################################
00022 ############################# BASIC CONFIGURATION ##############################
00023 ################################################################################
00024 
00025 # PRI_DIR -- 'private/' directory location (and name, ending with '/').
00026 #             Absolute or relative path to this configuration file (config.php).
00027 #             The absolute path is best for performance.
00028 
00029 define('PRI_DIR', '../private/');
00030 
00031 # DB_HOST -- Host where database is located. 'localhost' by default.
00032 # DB_USER -- User of the database.
00033 # DB_PASS -- Password of the database.
00034 # DB_NAME -- Name of the database.
00035 
00036 define('DB_HOST', 'localhost');
00037 define('DB_USER', 'izartuuser');
00038 define('DB_PASS', 'izartupass');
00039 define('DB_NAME', 'izartu');
00040 
00041 ################################################################################
00042 ############################ ADVANCED CONFIGURATION ############################
00043 ################################################################################
00044 
00045 # DB_TYPE -- Database type. At this moment 'MySQL' is the unique option allowed.
00046 #            'MySQL' by default.
00047 # DB_PORT -- Port of the database. 3306 (MySQL default port).
00048 #            At this moment 3306 is the unique port number allowed.
00049 
00050 define('DB_TYPE', 'MySQL');
00051 define('DB_PORT', 3306);
00052 
00053 # PREFIX -- Database tables prefix. For example: define('PREFIX', 'i_');
00054 #           FALSE (none) by default.
00055 
00056 define('PREFIX', FALSE);
00057 
00058 ################################################################################
00059 ############################ DEVELOPER CONFIGURATION ###########################
00060 ################################################################################
00061 
00062 # DEBUG -- Activate (TRUE) or deactivate (FALSE) the debug mode.
00063 #          In real environment ALWAYS DEACTIVATED (FALSE).
00064 
00065 define('DEBUG', TRUE);
00066 
 All Data Structures Files Functions Variables Enumerations