From be8e64ca785c9281d09b42aeaa917e8a1673af42 Mon Sep 17 00:00:00 2001 From: cflem Date: Sun, 1 Jan 2017 19:46:20 -0700 Subject: Moved ad displaying to dash_functions.php; finished settings.php --- inc/config.php | 6 +++--- inc/config.sample.php | 32 ++++++++++++++++++++++++++++++++ inc/dash_fatal.tpl | 1 - 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 inc/config.sample.php (limited to 'inc') 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 @@ '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 @@ + '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 ', + + // 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 @@