|
From: Paul S. O. <ps...@us...> - 2002-01-28 02:36:17
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv14019
Modified Files:
install.php
Log Message:
More hard-coded .php extensions
Index: install.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/install.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** install.php 2002/01/28 00:56:55 1.29
--- install.php 2002/01/28 02:36:14 1.30
***************
*** 346,351 ****
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");
//
--- 346,351 ----
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.$phpEx\"");
! header("Content-disposition: attachment; filename=config.$phpEx");
//
***************
*** 464,468 ****
@ftp_chdir($conn_id, $ftp_dir);
! $res = ftp_put($conn_id, 'config.php', $tmpfname, FTP_ASCII);
@ftp_quit($conn_id);
--- 464,468 ----
@ftp_chdir($conn_id, $ftp_dir);
! $res = ftp_put($conn_id, 'config.'.$phpEx, $tmpfname, FTP_ASCII);
@ftp_quit($conn_id);
***************
*** 800,804 ****
$no_open = FALSE;
! $fp = @fopen('config.php', 'w');
if( !$fp )
{
--- 800,804 ----
$no_open = FALSE;
! $fp = @fopen('config.'.$phpEx, 'w');
if( !$fp )
{
|