2 /* Copyright (C) 2012 The Meme Factory, Inc. http://www.meme.com/
3 * Copyright (C) 2006, 2007, 2008, 2010, Karl O. Pinc <kop@meme.com>
5 * This file is part of Gombemi.
7 * Gombe-MI is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Gombe-MI. If not, see <http://www.gnu.org/licenses/>.
20 * Constants for Gombe-MI PHP programs.
22 * Karl O. Pinc <kop@meme.com>
25 * Constants that appear in the m4 files for use in triggers have
26 * the same name here, except uppercase.
30 if (!defined('_GOMBEMI_CONSTANTS')) {
31 define('_GOMBEMI_CONSTANTS', '');
33 // Postgresql server related.
34 define('HOME_TARGET', '/gombemiwiki/');
35 define('PROGRAM_BASE', '/programs/');
37 // Match with the config option showin in postgresql.conf
38 define('PG_HOST', '/var/run/postgresql'); // unix_socket_directory
39 define('PG_PORT', '5435'); // port
42 define('SQL_NULL', 'NULL');