Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
<?php
2
// needed to really load the alternate db-config in common.php
3
define("PHORUM_WRAPPER",1);
4
 
5
// set the Phorum install dir
6
$PHORUM_DIR="/home/florian/Applications/lampp/htdocs/papyrus/client/phorum";
7
 
8
// set the databse settings for this Phorum Install
9
$PHORUM_ALT_DBCONFIG=array(
10
 
11
   "type"          =>  "mysql",
12
   "name"          =>  "papyrus",
13
   "server"        =>  "localhost",
14
   "user"          =>  "root",
15
   "password"      =>  "fs1980",
16
   "table_prefix"  =>  "phorum"
17
 
18
);
19
 
20
// We have to alter the urls a little
21
function phorum_custom_get_url ($page, $query_items, $suffix)
22
{
23
    $PHORUM=$GLOBALS["PHORUM"];
24
 
25
    $url = "$PHORUM[http_path]/phorum.php?$page";
26
 
27
    if(count($query_items)) $url.=",".implode(",", $query_items);
28
 
29
    if(!empty($suffix)) $url.=$suffix;
30
 
31
    return $url;
32
}
33
 
34
?>