Permalink
Browse files

Update configuration file

  • Loading branch information...
1 parent 27872ea commit dd8cea6f7034b9bac9335660ac27b07676427f66 @simonewebdesign committed Feb 11, 2013
Showing with 13 additions and 13 deletions.
  1. +13 −13 config.php
View
@@ -1,28 +1,28 @@
<?php
$cfg = array(
# site settings
- 'site_name' => 'Your Website name here',
+ 'site_name' => 'Your Website Name',
'address' => 'Your geographic address',
# paths
'site_url' => 'www.example.com',
-// 'site_full_url' => 'http://playpc.it',
- 'site_full_url' => 'http://localhost',
+// 'site_full_url' => 'http://example.com',
+ 'site_full_url' => 'http://localhost', # without a trailing slash
'site_root' => '/',
- 'root' => '/newsletter/', # application path
+ 'root' => '/newsletter/', # application path
'logo' => 'assets/images/header.jpg',
'unsubscribe_url' => 'unsubscribe.php',
'online_version_url' => 'view.php',
# mail settings
- 'from_name' => 'Sender name here',
- 'from' => 'hello@simonewebdesign.it', # mittente (no-reply)
+ 'from_name' => 'Sender name',
+ 'from' => 'newsletter@example.com', # mittente (no-reply)
- 'reply_to_name' => 'Recipient name here',
- 'reply_to' => 'info@simonewebdesign.it',
+ 'reply_to_name' => 'Recipient name',
+ 'reply_to' => 'info@example.com',
- 'mail' => array('username' => 'hello@simonewebdesign.it', 'password' => 'simoservage90'),
- 'smtp_server' => array('main' => 'smtp1.servage.net', 'backup' => 'smtp2.servage.net'),
+ 'mail' => array('username' => 'newsletter@example.com', 'password' => 'secret'),
+ 'smtp_server' => array('main' => 'smtp1.example.com', 'backup' => 'smtp2.example.com'),
/* production database settings
'hostname' => '127.0.0.1',
@@ -41,10 +41,10 @@
# miscellaneous
'language' => 'it',
'regex' => '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$^',
- 'limit' => 300, # limit of emails to send before refreshing the send.php page
+ 'limit' => 300, # limit of emails to send before refreshing the send.php page
'word_wrap' => 50,
- 'timeout' => 10000, # refresh timeout, in milliseconds.
- 'debug_mode' => 2, # enables SMTP debug information (2 for testing)
+ 'timeout' => 10000, # refresh timeout, in milliseconds.
+ 'debug_mode' => 0, # enables SMTP debug information (2 for testing)
'smtp_auth' => true,
'charset' => 'UTF-8',
'max_allowed_fails' => 5

0 comments on commit dd8cea6

Please sign in to comment.