git-hacks

git-hacks Commit Details

Date:2014-04-05 09:49:29 (5 years 3 months ago)
Author:Nicola Fontana
Branch:master
Commit:9e3072ad6e3edd8ae06cb3105994fcc8b4edf8ca
Parents: 5f16e89dd8f9d624563c374e9f7ab8ae129165d5
Message:gitdeploy: make it SilverStripe 2.4 compatible

Changes:
Mgitdeploy (1 diff)

File differences

gitdeploy
7171
7272
7373
74
74
7575
76
76
7777
7878
7979
local php="
define('BASE_PATH', '$path');
define('FRAMEWORK_DIR', 'framework');
define('FRAMEWORK_DIR', file_exists(BASE_PATH . '/framework') ? 'framework' : 'sapphire');
define('TEMP_FOLDER', '/tmp');
set_include_path(BASE_PATH . '/framework' . PATH_SEPARATOR . get_include_path());
set_include_path(BASE_PATH . '/' . FRAMEWORK_DIR . PATH_SEPARATOR . get_include_path());
// Disable cache entirely
require_once('cache/Cache.php');
SS_Cache::add_backend('default', 'black_hole');

Archive Download the corresponding diff file

Branches