summaryrefslogtreecommitdiff
path: root/www/phpbb/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpbb/files')
-rw-r--r--www/phpbb/files/patch-includes-sessions.php12
-rw-r--r--www/phpbb/files/patch-includes-usercp_register.php16
-rw-r--r--www/phpbb/files/pkg-message.in27
3 files changed, 33 insertions, 22 deletions
diff --git a/www/phpbb/files/patch-includes-sessions.php b/www/phpbb/files/patch-includes-sessions.php
index 697a1241c6ae..bb15b73c06a1 100644
--- a/www/phpbb/files/patch-includes-sessions.php
+++ b/www/phpbb/files/patch-includes-sessions.php
@@ -1,15 +1,15 @@
---- includes/sessions.php.orig Sun Jul 20 17:42:23 2003
-+++ includes/sessions.php Thu May 6 12:02:56 2004
-@@ -147,7 +147,7 @@
+--- includes/sessions.php.orig Sat May 14 05:04:00 2005
++++ includes/sessions.php Sun May 15 18:53:48 2005
+@@ -167,7 +167,7 @@
$sql = "INSERT INTO " . SESSIONS_TABLE . "
- (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in)
- VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login)";
+ (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin)
+ VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login, $admin)";
- if ( !$db->sql_query($sql) )
+ if ( $user_id != ANONYMOUS && !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error creating new session', '', __LINE__, __FILE__, $sql);
}
-@@ -380,4 +380,4 @@
+@@ -421,4 +421,4 @@
return $url;
}
diff --git a/www/phpbb/files/patch-includes-usercp_register.php b/www/phpbb/files/patch-includes-usercp_register.php
deleted file mode 100644
index cbd39c827557..000000000000
--- a/www/phpbb/files/patch-includes-usercp_register.php
+++ /dev/null
@@ -1,16 +0,0 @@
---- includes/usercp_register.php.orig Sun Mar 13 19:44:02 2005
-+++ includes/usercp_register.php Sun Mar 13 19:48:34 2005
-@@ -145,10 +145,9 @@
- if ( $mode == 'register' )
- {
- $attachsig = ( isset($HTTP_POST_VARS['attachsig']) ) ? ( ($HTTP_POST_VARS['attachsig']) ? TRUE : 0 ) : $board_config['allow_sig'];
--
-- $allowhtml = ( isset($HTTP_POST_VARS['allowhtml']) ) ? ( ($HTTP_POST_VARS['allowhtml']) ? TRUE : 0 ) : $board_config['allow_html'];
-- $allowbbcode = ( isset($HTTP_POST_VARS['allowbbcode']) ) ? ( ($HTTP_POST_VARS['allowbbcode']) ? TRUE : 0 ) : $board_config['allow_bbcode'];
-- $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies'];
-+ $allowhtml = ( ($board_config['allowhtml']) ) ? TRUE : 0;
-+ $allowbbcode = ( ($board_config['allowbbcode']) ) ? TRUE : 0;
-+ $allowsmilies = ( ($board_config['allowsmilies']) ) ? TRUE : 0;
- }
- else
- {
diff --git a/www/phpbb/files/pkg-message.in b/www/phpbb/files/pkg-message.in
new file mode 100644
index 000000000000..d8de0457cca9
--- /dev/null
+++ b/www/phpbb/files/pkg-message.in
@@ -0,0 +1,27 @@
+----------------------------------------------------------------------------
+phpBB2 has been installed, but is not quite ready to be used yet!
+
+You have to ensure that you have a database server (or ODBC access to a
+remote database) installed and configured, and you have to ensure that your
+PHP installation has been compiled with support for your database or
+database access method. You have to create a database for phpBB2 to use,
+and ensure that this database may be accessed and changed by the user id
+under which your web server executes. Further information on these
+installation procedures may be found in:
+
+ %%DOCSDIR%%/README.html
+
+Once these steps have been taken, you may connect to the following URL to
+configure your installation of phpBB2:
+
+ http://localhost/%%PHPBBURL%%/
+
+After configuring phpBB2 and ensuring that it is operational, you MUST
+delete the following files manually for security purposes from
+%%PREFIX%%/%%PHPBBDIR%%:
+
+ %%DELETEFILES%%
+
+Duplicates of these files have been installed to %%DATADIR%%.
+%%DATADIR%%/contrib contains contributed software for phpBB2.
+----------------------------------------------------------------------------