1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
4 -------------------------------------------------------------------------------
5 This file is part of mlib.
7 mlib is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your option)
12 mlib is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License; if not,
17 write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18 Boston, MA 02111-1307 USA
19 -------------------------------------------------------------------------------
20 Creado: jue jul 17 15:25:33 ART 2003
21 Autor: Leandro Lucarella <llucar@mecon.gov.ar>
22 -------------------------------------------------------------------------------
24 -----------------------------------------------------------------------------*/
27 * Configuración general de mlib.
32 if (!defined('MLIB_DIR_ROOT')) {
34 * Directorio raíz respecto de la web.
36 define('MLIB_DIR_ROOT', '/MLIB');
39 if (!defined('MLIB_DIR_FS')) {
41 * Directorio raíz respecto del sistema de archivos.
43 define('MLIB_DIR_FS', '/var/www/mlib');
46 if (!defined('MLIB_DIR_FS_IMG')) {
48 * Directorio de imagenes respecto del sistema de archivos.
50 define('MLIB_DIR_FS_IMG', MLIB_DIR_FS.'/www/images');
53 if (!defined('MLIB_DIR_CSS')) {
55 * Directorio donde se encuentran las hojas de estilo.
57 define('MLIB_DIR_CSS', MLIB_DIR_ROOT.'/css');
60 if (!defined('MLIB_DIR_IMG')) {
62 * Directorio donde se encuentran las imágenes.
64 define('MLIB_DIR_IMG', MLIB_DIR_ROOT.'/images');
67 if (!defined('MLIB_DIR_JS')) {
69 * Directorio donde se encuentran los JavaScripts.
71 define('MLIB_DIR_JS', MLIB_DIR_ROOT.'/js');
74 if (!defined('MLIB_DB_DSN')) {
76 * DSN de la DB a usar por defecto.
78 define('MLIB_DB_DSN', 'mysql://intranet:intranet@localhost/intranet');
81 if (!defined('MLIB_DB_OPTS')) {
83 * Opciones de la DB a usar por defecto.
85 //define('MLIB_DB_OPTS', array('persistent' => true));