]>
git.agnieray.net Git - galette.git/blob - galette/config/paths.inc.php
9c4a11d1d35543a0cd6d96a14df26c6ad9a9ba03
3 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
7 * Path to external librarires, logs files, exports directory, ...
11 * Copyright © 2011-2014 The Galette Team
13 * This file is part of Galette (http://galette.tuxfamily.org).
15 * Galette is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation, either version 3 of the License, or
18 * (at your option) any later version.
20 * Galette is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with Galette. If not, see <http://www.gnu.org/licenses/>.
31 * @author Johan Cwiklinski <johan@x-tnd.be>
32 * @copyright 2011-2014 The Galette Team
33 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
35 * @link http://galette.tuxfamily.org
36 * @since Available since 0.7dev - 2009-03-13
39 if (file_exists(GALETTE_ROOT
. 'config/local_paths.inc.php')) {
40 include GALETTE_ROOT
. 'config/local_paths.inc.php';
44 if (!defined('GALETTE_ZEND_PATH')) {
45 define('GALETTE_ZEND_PATH', GALETTE_ROOT
. 'vendor/zendframework');
47 if (!defined('GALETTE_ANALOG_PATH')) {
49 'GALETTE_ANALOG_PATH',
50 GALETTE_ROOT
. 'vendor/analog/analog'
53 if (!defined('GALETTE_PHP_MAILER_PATH')) {
55 'GALETTE_PHP_MAILER_PATH',
56 GALETTE_ROOT
. 'vendor/phpmailer/phpmailer'
59 if (!defined('GALETTE_SMARTY_PATH')) {
61 'GALETTE_SMARTY_PATH',
62 GALETTE_ROOT
. 'vendor/smarty/smarty/'
65 if (!defined('GALETTE_TCPDF_PATH')) {
68 GALETTE_ROOT
. '/vendor/tecnickcom/tcpdf'
71 /*if ( !defined('GALETTE_SLIM_PATH') ) {
72 define('GALETTE_SLIM_PATH', GALETTE_ROOT . 'lib/Slim-' . SLIM_VERSION);
74 if ( !defined('GALETTE_SLIM_VIEWS_PATH') ) {
75 define('GALETTE_SLIM_VIEWS_PATH', GALETTE_ROOT . 'lib/Slim-Views');
77 /*if ( !defined('GALETTE_XHPROF_PATH') ) {
78 define('GALETTE_XHPROF_PATH', '/usr/share/xhprof/');
82 if (!defined('GALETTE_CONFIG_PATH')) {
83 define('GALETTE_CONFIG_PATH', GALETTE_ROOT
. 'config/');
85 if (!defined('GALETTE_PLUGINS_PATH')) {
86 define('GALETTE_PLUGINS_PATH', GALETTE_ROOT
. 'plugins/');
88 if (!defined('GALETTE_DATA_PATH')) {
89 define('GALETTE_DATA_PATH', GALETTE_ROOT
. 'data/');
91 if (!defined('GALETTE_THEMES_PATH')) {
92 define('GALETTE_THEMES_PATH', GALETTE_ROOT
. 'webroot/themes/');
94 if (!defined('GALETTE_LOGS_PATH')) {
95 define('GALETTE_LOGS_PATH', GALETTE_DATA_PATH
. 'logs/');
97 if (!defined('GALETTE_COMPILE_DIR')) {
98 define('GALETTE_COMPILE_DIR', GALETTE_DATA_PATH
. 'templates_c/');
100 if (!defined('GALETTE_CACHE_DIR')) {
101 define('GALETTE_CACHE_DIR', GALETTE_DATA_PATH
. 'cache/');
103 if (!defined('GALETTE_EXPORTS_PATH')) {
104 define('GALETTE_EXPORTS_PATH', GALETTE_DATA_PATH
. 'exports/');
106 if (!defined('GALETTE_IMPORTS_PATH')) {
107 define('GALETTE_IMPORTS_PATH', GALETTE_DATA_PATH
. 'imports/');
109 if (!defined('GALETTE_PHOTOS_PATH')) {
110 define('GALETTE_PHOTOS_PATH', GALETTE_DATA_PATH
. 'photos/');
112 if (!defined('GALETTE_ATTACHMENTS_PATH')) {
113 define('GALETTE_ATTACHMENTS_PATH', GALETTE_DATA_PATH
. 'attachments/');
115 if (!defined('GALETTE_FILES_PATH')) {
116 define('GALETTE_FILES_PATH', GALETTE_DATA_PATH
. 'files/');
118 if (!defined('GALETTE_TEMPIMAGES_PATH')) {
119 define('GALETTE_TEMPIMAGES_PATH', GALETTE_DATA_PATH
. 'tempimages/');
121 if (!defined('GALETTE_TELEMETRY_URI')) {
122 define('GALETTE_TELEMETRY_URI', 'https://telemetry.galette.eu/');