mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Issue 579 fixed a problem of chmod command on windows
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10392 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b2cff71bc
commit
f29fb40ba7
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@
|
||||||
return new Object(-1, "msg_make_directory_failed");
|
return new Object(-1, "msg_make_directory_failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!stristr(PHP_OS, 'win'))
|
if(strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')
|
||||||
{
|
{
|
||||||
if (function_exists('ftp_chmod')) {
|
if (function_exists('ftp_chmod')) {
|
||||||
if(!ftp_chmod($this->connection, 0755, $ftp_path))
|
if(!ftp_chmod($this->connection, 0755, $ftp_path))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue