Line 72: |
Line 72: |
| cd /opt/cerberus | | cd /opt/cerberus |
| example of config.php | | example of config.php |
− | <?php | + | <?php |
− | | + | |
− | // Database connection information | + | // Database connection information |
− | // Type your information in between the single quotes ('s) below | + | // Type your information in between the single quotes ('s) below |
− | | + | |
− | define("DB_SERVER",'localhost'); | + | define("DB_SERVER",'localhost'); |
− | define("DB_NAME",'cerberusdb'); | + | define("DB_NAME",'cerberusdb'); |
− | define("DB_USER",'cerberus'); | + | define("DB_USER",'cerberus'); |
− | define("DB_PASS",'cerberuspassword'); | + | define("DB_PASS",'cerberuspassword'); |
− | | + | |
− | | + | |
− | // [JAS]: IPs that we'll allow to view upgrade.php. | + | // [JAS]: IPs that we'll allow to view upgrade.php. |
− | // Add yours here at the end, or replace a 0.0.0.0 | + | // Add yours here at the end, or replace a 0.0.0.0 |
− | // Partial IP masks are allowed. | + | // Partial IP masks are allowed. |
− | | + | |
− | $authorized_ips = array("127.0", | + | $authorized_ips = array("127.0", |
− | "192.168.1",
| + | "192.168.1", |
− | "0.0.0.0",
| + | "0.0.0.0", |
− | "0.0.0.0"
| + | "0.0.0.0" |
− | );
| + | ); |
| | | |
| + | |
| | | |
| | | |