mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 1851: Fix PHP Warnings and notices in DB Classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
23e508e1b8
commit
1bc92129b0
31 changed files with 164 additions and 89 deletions
|
|
@ -240,7 +240,7 @@
|
|||
foreach($ftp_info as $key => $val) {
|
||||
$buff .= sprintf("\$ftp_info->%s = '%s';\n", $key, str_replace("'","\\'",$val));
|
||||
}
|
||||
$buff .= "?>";
|
||||
$buff .= "?".">";
|
||||
// If safe_mode
|
||||
if(ini_get('safe_mode')) {
|
||||
if(!$ftp_info->ftp_user || !$ftp_info->ftp_password) return new Object(-1,'msg_safe_mode_ftp_needed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue