-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.php
More file actions
31 lines (22 loc) · 1.01 KB
/
setup.php
File metadata and controls
31 lines (22 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
ini_set('output_buffering', 'Off');
ini_set('implicit_flush', 'On');
set_time_limit(0);
putenv('HOME=/var/www');
date_default_timezone_set('Europe/Moscow');
set_include_path(dirname(__FILE__) . '/' . PATH_SEPARATOR .
dirname(__FILE__) . '/lib/' . PATH_SEPARATOR);
if(file_exists(dirname(__FILE__) . '/setup.override.php'))
require_once(dirname(__FILE__) . '/setup.override.php');
@define('LIMB_USE_NATIVE_SESSION_DRIVER', true);
@define('LIMB_VAR_DIR', dirname(__FILE__) . '/var/');
define('SYNCMAN_VERSION', trim(file_get_contents(dirname(__FILE__) . '/VERSION')));
@define('SYNCMAN_PROJECTS_SETTINGS_DIR', dirname(__FILE__) . '/projects/');
@define('SYNCMAN_KEY', '/home/syncman/.ssh/id_dsa');
@define('SYNCMAN_GIT_BIN', 'git');
@define('SYNCMAN_SVN_BIN', 'svn');
@define('SYNCMAN_RSYNC_BIN', 'rsync');
@define('SYNCMAN_SSH_BIN', 'ssh');
@define('SYNCMAN_FTP_BIN', 'lftp');
@define('LIMB_CONF_INCLUDE_PATH', dirname(__FILE__) . '/settings/');
require_once(dirname(__FILE__) . '/common.inc.php');