forked from pshep/ANUBIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
31 lines (22 loc) · 951 Bytes
/
Copy pathREADME
File metadata and controls
31 lines (22 loc) · 951 Bytes
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
Installation instructions.
Copy all the files/directories to your web shared directory in an anubis sub-
directory.
Anubis uses the PDO API to connect to databases, so this feature must be enabled
in your PHP setup. Consult
http://php.net/manual/en/book.pdo.php
on how to do this.
Edit config.inc.php with the details of your database.
These are the variables:
$dbdatabase - name of data base to connect to.
$dbusername - username to connect with.
$dbpassword - password to connect with.
$dbhost - host to connect to.
To chose which type of database to connect to, set the following to '1' to
select that database:
$db_mysql.
$db_sqlite.
Currently MYSQL and SQLite databases are supported, but to add your own is not
too difficult. Just need to edit anubis_db_connect() and add your specific
database connection routines. The following URL has a good tutorial on how to
do this:
http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html