Indefero

Indefero Commit Details


Date:2010-05-11 03:13:38 (14 years 11 months ago)
Author:Mehdi Kabab
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:8f914c44a1310fd0e861bddda229e0724af42da8
Parents: 28ce82c6f6d066065edf216d9385fc811669e7d5
Message:Fixed issue 459, variables not defined for exec in PHP 5.3.

Changes:

File differences

src/IDF/Plugin/SyncGit/Serve.php
196196
197197
198198
199
200
199201
200202
201203
......
214216
215217
216218
219
220
217221
218222
219223
        if (!file_exists($fullpath)) {
            mkdir($fullpath, 0750, true);
        }
        $out = array();
        $res = 0;
        exec(sprintf(Pluf::f('idf_exec_cmd_prefix', '').
                     Pluf::f('git_path', 'git').' --git-dir=%s init', escapeshellarg($fullpath)),
             $out, $res);
                                 $fullpath.'/hooks/post-update'));
            return;
        }
        $out = array();
        $res = 0;
        exec(sprintf(Pluf::f('idf_exec_cmd_prefix', '').'ln -s %s %s',
                     escapeshellarg($p),
                     escapeshellarg($fullpath.'/hooks/post-update')),

Archive Download the corresponding diff file

Page rendered in 0.16922s using 14 queries.