-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
40 lines (35 loc) · 854 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
include_once "Certificate.php";
include_once "CertificateDao.php";
include_once "DbConnection.php";
include_once "InvalidDateFormatException.php";
include_once "LogEvent.php";
include_once "LogEventDao.php";
include_once "UpdateEvent.php";
include_once "UpdateEventDao.php";
include_once "User.php";
include_once "UserDao.php";
if (session_status() == PHP_SESSION_NONE) {
session_start();
}
class Config {
private $user = 'atp_user';
private $password = 'atp_passwd';
private $database = 'atp_db';
private $title = "Baza ATP";
public function __construct() {
}
public function getUser() {
return $this->user;
}
public function getPassword() {
return $this->password;
}
public function getDatabase() {
return $this->database;
}
public function getTitle() {
return $this->title;
}
}
?>