1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
namespace Garradin;
error_reporting(-1);
define('GARRADIN_WEBSITE', 'http://garradin.eu/');
define('GARRADIN_PLUGINS_URL', 'https://garradin.eu/plugins/list.json');
/*
* Version de Garradin
*/
function garradin_version()
{
if (defined('GARRADIN_VERSION'))
|
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
namespace Garradin;
error_reporting(-1);
/*
* Version de Garradin
*/
function garradin_version()
{
if (defined('GARRADIN_VERSION'))
|
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
}
if (!defined('GARRADIN_PLUGINS_PATH'))
{
define('GARRADIN_PLUGINS_PATH', GARRADIN_DATA_ROOT . '/plugins');
}
ini_set('error_log', GARRADIN_DATA_ROOT . '/error.log');
ini_set('log_errors', true);
ini_set('display_errors', true);
ini_set('html_errors', false);
if (PHP_SAPI != 'cli')
{
|
>
>
>
|
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
}
if (!defined('GARRADIN_PLUGINS_PATH'))
{
define('GARRADIN_PLUGINS_PATH', GARRADIN_DATA_ROOT . '/plugins');
}
define('GARRADIN_WEBSITE', 'http://garradin.eu/');
define('GARRADIN_PLUGINS_URL', 'https://garradin.eu/plugins/list.json');
ini_set('error_log', GARRADIN_DATA_ROOT . '/error.log');
ini_set('log_errors', true);
ini_set('display_errors', true);
ini_set('html_errors', false);
if (PHP_SAPI != 'cli')
{
|