Commit graph

9 commits

Author SHA1 Message Date
MarkMaldaba 251f4d6713 Fix for running PHP under CGI on Windows machines. In this situation, the environement variables defining the system temp path are not necessarily available to PHP, so sys_get_temp_dir() falls back to using the system path (e.g. C:\WINDOWS), which is normally unwritable. This means that temp-file creation fails.
I've added code to detect this situation, and if it occurs we point it to %SystemRoot%\TEMP instead, which usually is present and writable.  May not fix 100% of cases, but should fix the vast majority of situations where this may occur.
2013-05-15 16:04:55 +01:00
Dan Cryer be838c6765 Merging master to bring github branch into line. 2013-05-14 19:57:37 +01:00
Dan Cryer fa18d89ddc Adding support for local path based projects. See pull #2 2013-05-14 19:44:14 +01:00
Dan Cryer 5f9f839613 Removing the extra /tmp from sys_get_temp_dir() 2013-05-14 18:34:26 +01:00
meadsteve 0a9c7bda93 On a windows system having a file path like '/tmp/' . md5(microtime(true)) caused problems. I've updated this to use the system temp directory. 2013-05-14 18:01:14 +01:00
Dan Cryer 918b4deff4 Adding Github statuses integration 2013-05-14 17:49:39 +01:00
Dan Cryer dfeac39be3 Github integration. 2013-05-14 16:37:54 +01:00
Dan Cryer 188162f0a2 Adding user accounts. 2013-05-10 16:25:51 +01:00
Dan Cryer 3647ac1cd8 Big update. 2013-05-10 12:28:43 +01:00