diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 02:36:21 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 02:36:21 +0000 |
| commit | a421fa3f523cd6d688436299a55877fb8c1a113b (patch) | |
| tree | a4abbbda2147f31e08a32ab3d48c587acc44df45 /phpBB/install.php | |
| parent | 25ef416369b01078d4788f9ca300e66562428462 (diff) | |
| download | forums-a421fa3f523cd6d688436299a55877fb8c1a113b.tar forums-a421fa3f523cd6d688436299a55877fb8c1a113b.tar.gz forums-a421fa3f523cd6d688436299a55877fb8c1a113b.tar.bz2 forums-a421fa3f523cd6d688436299a55877fb8c1a113b.tar.xz forums-a421fa3f523cd6d688436299a55877fb8c1a113b.zip | |
More hard-coded .php extensions
git-svn-id: file:///svn/phpbb/trunk@1984 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install.php')
| -rw-r--r-- | phpBB/install.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/install.php b/phpBB/install.php index a6cdd9ab4a..efd0d3ba54 100644 --- a/phpBB/install.php +++ b/phpBB/install.php @@ -345,8 +345,8 @@ else // if( !empty($HTTP_POST_VARS['send_file']) && $HTTP_POST_VARS['send_file'] == 1 && !defined("PHPBB_INSTALLED") && empty($HTTP_POST_VARS['upgrade_now']) ) { - header("Content-Type: text/x-delimtext; name=\"config.php\""); - header("Content-disposition: attachment; filename=config.php"); + header("Content-Type: text/x-delimtext; name=\"config.$phpEx\""); + header("Content-disposition: attachment; filename=config.$phpEx"); // // We need to stripslashes no matter what the setting of magic_quotes_gpc is @@ -463,7 +463,7 @@ else if( !empty($HTTP_POST_VARS['ftp_file']) && !defined("PHPBB_INSTALLED") ) // @ftp_chdir($conn_id, $ftp_dir); - $res = ftp_put($conn_id, 'config.php', $tmpfname, FTP_ASCII); + $res = ftp_put($conn_id, 'config.'.$phpEx, $tmpfname, FTP_ASCII); @ftp_quit($conn_id); @@ -799,7 +799,7 @@ else @umask(0111); $no_open = FALSE; - $fp = @fopen('config.php', 'w'); + $fp = @fopen('config.'.$phpEx, 'w'); if( !$fp ) { // |
