1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
5 -------------------------------------------------------------------------------
6 This file is part of meconlib.
8 meconlib is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2 of the License, or (at your option)
13 meconlib is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License; if not,
18 write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 Boston, MA 02111-1307 USA
20 -------------------------------------------------------------------------------
21 Creado: jue jul 17 15:25:33 ART 2003
22 Autor: Leandro Lucarella <llucar@mecon.gov.ar>
23 -------------------------------------------------------------------------------
25 -----------------------------------------------------------------------------*/
28 * Configuración general de MECONlib.
33 if (!defined('MECON_DIR_ROOT')) {
35 * Directorio raíz respecto de la web.
37 define('MECON_DIR_ROOT', '/MECON');
40 if (!defined('MECON_DIR_FS')) {
42 * Directorio raíz respecto del sistema de archivos.
44 define('MECON_DIR_FS', '/var/www/meconlib');
47 if (!defined('MECON_DIR_FS_IMG')) {
49 * Directorio de imagenes respecto del sistema de archivos.
51 define('MECON_DIR_FS_IMG', MECON_DIR_FS.'/www/images');
54 if (!defined('MECON_DIR_CSS')) {
56 * Directorio donde se encuentran las hojas de estilo.
58 define('MECON_DIR_CSS', MECON_DIR_ROOT.'/css');
61 if (!defined('MECON_DIR_IMG')) {
63 * Directorio donde se encuentran las imágenes.
65 define('MECON_DIR_IMG', MECON_DIR_ROOT.'/images');
68 if (!defined('MECON_DIR_JS')) {
70 * Directorio donde se encuentran los JavaScripts.
72 define('MECON_DIR_JS', MECON_DIR_ROOT.'/js');
75 if (!defined('MECON_DB_DSN')) {
77 * DSN de la DB a usar por defecto.
79 define('MECON_DB_DSN', 'mysql://intranet:intranet@localhost/intranet');
82 if (!defined('MECON_DB_OPTS')) {
84 * Opciones de la DB a usar por defecto.
86 //define('MECON_DB_OPTS', array('persistent' => true));