git-hacks

git-hacks Commit Details

Date:2014-09-10 14:08:53 (4 years 10 months ago)
Author:Nicola Fontana
Branch:master
Commit:89437b1a3e12303e92bb48c3f889baa89fa14575
Parents: abc2af51e5fa377463aa52e8c337b5f603650253
Message:gitdeploy: use absolute path for BASE_PATH

Changes:
Mgitdeploy (1 diff)

File differences

gitdeploy
6969
7070
7171
72
72
7373
7474
7575
local code cfg type server username password database
local php="
define('BASE_PATH', '$dir');
define('BASE_PATH', realpath('$dir'));
define('FRAMEWORK_DIR', file_exists(BASE_PATH . '/framework') ? 'framework' : 'sapphire');
define('TEMP_FOLDER', '/tmp');
set_include_path(BASE_PATH . '/' . FRAMEWORK_DIR . PATH_SEPARATOR . get_include_path());

Archive Download the corresponding diff file

Branches