aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/config.php19
-rw-r--r--phpBB/includes/sessions.php4
2 files changed, 21 insertions, 2 deletions
diff --git a/phpBB/config.php b/phpBB/config.php
index e69de29bb2..26552a35fa 100644
--- a/phpBB/config.php
+++ b/phpBB/config.php
@@ -0,0 +1,19 @@
+<?php
+
+//
+// phpBB 2.x auto-generated config file
+// Do not change anything in this file!
+//
+
+$dbms = "mysql";
+
+$dbhost = "localhost";
+$dbname = "devphpbb2";
+$dbuser = "dougk";
+$dbpasswd = "dougkff7";
+
+$table_prefix = "phpbb_";
+
+define('PHPBB_INSTALLED', true);
+
+?>
diff --git a/phpBB/includes/sessions.php b/phpBB/includes/sessions.php
index 4ac7224183..420186e7f3 100644
--- a/phpBB/includes/sessions.php
+++ b/phpBB/includes/sessions.php
@@ -20,7 +20,7 @@
*
***************************************************************************/
-if ( !defined('IN_PHPBB') )
+if ( !defined('IN_PHPBB') && !defined('IN_ADMIN') )
{
die("Hacking attempt");
}
@@ -377,4 +377,4 @@ function append_sid($url, $non_html_amp = false)
return($url);
}
-?> \ No newline at end of file
+?>