1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

- some changes to browser checking (was the reason for not working logins)

- partly working style acp
- other tiny changes here and there


git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-12-28 17:35:20 +00:00
parent 761598e1b7
commit 0334d42477
20 changed files with 1862 additions and 132 deletions

View File

@@ -55,7 +55,7 @@ class transfer
// temporary files or have write access on a folder within phpBB
// like the cache folder. If the user can't do either, then
// he/she needs to use the fsock ftp method
$temp_name = tempnam($this->tmp_path, 'ftp_');
$temp_name = tempnam($this->tmp_path, 'transfer_');
@unlink($temp_name);
$fp = @fopen($temp_name, 'w');
@@ -183,6 +183,21 @@ class transfer
{
return $this->_close();
}
/**
* Determine methods able to be used
*/
function methods()
{
$methods = array();
if (@extension_loaded('ftp'))
{
$methods[] = 'ftp';
}
return $methods;
}
}
/**