summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorcflem <carson.fl3ming@gmail.com>2017-01-01 19:46:20 -0700
committercflem <carson.fl3ming@gmail.com>2017-01-01 19:46:20 -0700
commitbe8e64ca785c9281d09b42aeaa917e8a1673af42 (patch)
tree3f0a7c6675d2e1fdf7b9653f9e293c2aa23b72c7 /inc
parentd8543707426d6a4645c270929f999df8209bb587 (diff)
downloadbulletin-be8e64ca785c9281d09b42aeaa917e8a1673af42.tar.gz
Moved ad displaying to dash_functions.php; finished settings.php
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php6
-rw-r--r--inc/config.sample.php32
-rw-r--r--inc/dash_fatal.tpl1
3 files changed, 35 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php
index 76783c3..b7d21a4 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1,11 +1,11 @@
<?php
$b_config = array(
- 'base_url' => 'https://www.bulletinalpha.tk/',
+ 'base_url' => 'http://www.bulletin.com/',
'c_name' => 'bulletin',
'c_expire' => 31536000,
- 'c_dom' => '.bulletinalpha.tk',
+ 'c_dom' => '.bulletin.com',
'c_path' => '/',
- 'c_sec' => true,
+ 'c_sec' => false,
'c_http' => true,
'db_host' => 'localhost',
'db_name' => 'bulletin',
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,
+
+);
+?>
diff --git a/inc/dash_fatal.tpl b/inc/dash_fatal.tpl
index 31106a2..db7d7fa 100644
--- a/inc/dash_fatal.tpl
+++ b/inc/dash_fatal.tpl
@@ -1,6 +1,5 @@
<div class="errbox">
<p>[tpl:message]</p>
- <div class="hr"></div>
<p class="back">
<a href="[tpl:link]">
[tpl:label]