summaryrefslogtreecommitdiff
path: root/inc/config.sample.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/config.sample.php')
-rw-r--r--inc/config.sample.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/inc/config.sample.php b/inc/config.sample.php
new file mode 100644
index 0000000..1be5151
--- /dev/null
+++ b/inc/config.sample.php
@@ -0,0 +1,32 @@
+<?php
+$b_config = array(
+
+ // Site URL with trailing slash
+ 'base_url' => 'https://www.bulletinalpha.tk/',
+
+ // Cookies Information
+ 'c_name' => 'bulletin', // Cookie name
+ 'c_expire' => 31536000, // Expiration time (seconds, default: 1 year)
+ 'c_dom' => '.bulletinalpha.tk', // Domain
+ 'c_path' => '/', // Path
+ 'c_sec' => true, // Serve cookies only over https
+ 'c_http' => true, // Don't serve cookies to javascript
+
+ // Database Information
+ 'db_host' => 'localhost',
+ 'db_name' => '',
+ 'db_user' => '',
+ 'db_pass' => '',
+
+ // Send emails from this address
+ 'mail_from' => 'Bulletin <noreply@bulletinalpha.tk>',
+
+ // Mobile site configuration
+ 'mobile_base' => 'https://m.bulletinalpha.tk/',
+ 'moblie_host' => 'm.bulletinalpha.tk',
+
+ // Number of ads per page in the employee dashboard
+ 'ads_per_page' => 10,
+
+);
+?>