-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.php
38 lines (32 loc) · 1.12 KB
/
config.php
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
28
29
30
31
32
33
34
35
36
37
38
<?php
$db_config = array(
'host' => 'pgsql:host=localhost;dbname=newsletter',
'user' => 'user',
'password' => ''
);
$mail_config = array(
'from' => '[email protected]',
'host' => '',
'port' => '587',
'username' => '[email protected]',
'password' => '',
);
define('URL', 'https://newsletter.nixers.net/');
define('TIMEOUT_DELETION',' 2 days ');
define('NEWSLETTER_TITLE','Nixers Newsletter');
define('NEWSLETTER_LINK','https://newsletter.nixers.net/');
define('NEWSLETTER_DESCRIPTION','The Nixers.net Newsletter');
//Feed Structure
define('NEWSLETTER_HEADER','<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>'.NEWSLETTER_TITLE.'</title>
<link>'.NEWSLETTER_LINK.'</link>
<description>'.NEWSLETTER_DESCRIPTION.'</description>');
define('NEWSLETTER_FOOTER','</channel></rss>');
//End Feed Structure
define('NEWSLETTER_RSS_PATH','feed.xml'); //the local place of the feed
define('NEWSLETTER_DIR','./newsletters');
define('NEWSLETTER_FILE_EXTENSION','html');
define('NEWSLETTER_RSS_PLACE','feed.xml'); //the url of the feed URL.NEWSLETTER_RSS_PLACE