|
Revision 1271, 0.9 kB
(checked in by benjamin, 3 years ago)
|
bug class_exists corrig�.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
global $pr,$db,$er; |
|---|
| 4 |
|
|---|
| 5 |
bindtextdomain("procmail_builder", "/var/alternc/bureau/locales"); |
|---|
| 6 |
|
|---|
| 7 |
$do_not_set_lang_env=1; |
|---|
| 8 |
$root="/var/alternc/bureau/"; |
|---|
| 9 |
|
|---|
| 10 |
require_once($root."class/local.php"); |
|---|
| 11 |
require_once($root."class/functions.php"); |
|---|
| 12 |
require_once($root."class/procmail_builder/m_procmail.php"); |
|---|
| 13 |
require_once($root."class/db_mysql.php"); |
|---|
| 14 |
require_once($root."class/m_err.php"); |
|---|
| 15 |
|
|---|
| 16 |
if (!class_exists("DB_system")) { |
|---|
| 17 |
|
|---|
| 18 |
class DB_system extends DB_Sql { |
|---|
| 19 |
var $Host,$Database,$User,$Password; |
|---|
| 20 |
function DB_system() { |
|---|
| 21 |
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD; |
|---|
| 22 |
$this->Host = $L_MYSQL_HOST; |
|---|
| 23 |
$this->Database = $L_MYSQL_DATABASE; |
|---|
| 24 |
$this->User = $L_MYSQL_LOGIN; |
|---|
| 25 |
$this->Password = $L_MYSQL_PWD; |
|---|
| 26 |
} |
|---|
| 27 |
} |
|---|
| 28 |
$db= new DB_system(); |
|---|
| 29 |
} |
|---|
| 30 |
|
|---|
| 31 |
$er= new m_err(); |
|---|
| 32 |
|
|---|
| 33 |
$pr= new m_procmail($username); |
|---|
| 34 |
|
|---|
| 35 |
?> |
|---|
| 36 |
|
|---|