-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathalgdb_config.php
More file actions
27 lines (21 loc) · 852 Bytes
/
algdb_config.php
File metadata and controls
27 lines (21 loc) · 852 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
<?php
// MySQL databse
$DB_NAME="<CHANGE_ME>";
// MySQL database username
$DB_USERNAME="<CHANGE_ME>";
// MySQL database password
$DB_PASSWORD="<CHANGE_ME>";
// Location of visual cube image generator
$VISCUBE="http://<CHANGE_ME>/visualcube.php";
// Whether to use as a mediawiki extension (if not it runs as a standalone app)
$USING_WIKI = true;
//-------------------[ Wiki specific config ]--------------------
// Full url of this script on the wiki
$WIKI_PAGE = "http://<CHANGE_ME>/index.php/Special:MediawikiAlgDB";
//---------------[ Standalone specific config ]-------------------
// Administrative users (provides upload access, viewing access is public)
// To log in as the given user add the user=<user> argument to the URL
// for example: http://www.mysite.com/algdb/algdb.php?user=admin
$USERS = Array(
"admin"
);