~ubuntu-branches/ubuntu/karmic/phpbb3/karmic

« back to all changes in this revision

Viewing changes to debian/config.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-22 01:13:42 UTC
  • Revision ID: james.westby@ubuntu.com-20080422011342-2y2f8gy0f6oqk5uc
Tags: 3.0.1-1
* New upstream bugfix release.
* Add Portuguese debconf translation thanks to Miguel Figueiredo
  (Closes: #470112)
* Fix PostgreSQL schema to strip out hash-style comments
  (Closes: #461117).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/* DO NOT CHANGE THIS FILE
 
4
 
 
5
This file is part of the Debian package for phpbb. To configure phpbb3,
 
6
edit /etc/phpbb3/config.php.
 
7
 
 
8
For using multiple phpbb boards on this computer with different databases,
 
9
include 'php_value auto_prepend_file /etc/phpbb3/alternative_config.php'
 
10
in the corresponding <Location> or <VirtualHost> section of your apache's config.
 
11
 
 
12
That file will then override the /etc/phpbb3/config.php file
 
13
 
 
14
*/
 
15
 
 
16
if (!defined('PHPBB_INSTALLED')) {
 
17
        if (!file_exists('/etc/phpbb3/database.inc.php')) {
 
18
                die("You need to install a configuration file in
 
19
                <tt>/etc/phpbb3/config.php</tt> to tell phpbb where its database can
 
20
                be found. Use the dbconfig-common method provided with the package setup
 
21
                (<tt>dpkg-reconfigure phpbb3</tt>) to have a database setup
 
22
                automatically, or see <tt>/usr/share/doc/phpbb3/README.Debian</tt> for
 
23
                information on how to make one yourself.");
 
24
        }
 
25
        require '/etc/phpbb3/database.inc.php';
 
26
 
 
27
        $dbms = $dbtype;
 
28
        $dbhost = $dbserver;
 
29
        $dbpasswd = $dbpass;
 
30
 
 
31
        $table_prefix = 'phpbb_';
 
32
        $acm_type = 'file';
 
33
        $load_extensions = '';
 
34
 
 
35
        define ( 'PHPBB_INSTALLED', true );
 
36
}
 
37