Try to guess the right binary on a Windows x64 system
author Chris Han
()
committer Chris Han
()
commit 5d0c9108015cce3fa627609f850f553095a9f190
tree 5b565889f18762f1d3cf7ec44e25e9a2e2d5b0b0
parent 0dad7b3a890d524da680e903facc960e75c1e904
Try to guess the right binary on a Windows x64 system

I really hate making use of php_uname especially because it's disabled
for security reasons on some shared hosting providers. However there
isn't really another reliable way - you can't just test the integer size
in PHP because the build of php might not match the operating system
word size itself (eg running 32bit php on 64bit windows).
include/git/DiffExe.class.php
include/git/GitExe.class.php
comments