Configuration file example, reflecting README and .gitignore.

You can now configure xkcd-Mailer without touching the script itself. Yay!
This commit is contained in:
Ismo Vuorinen
2013-06-23 15:25:57 +03:00
parent 005b952e6d
commit cb52b4e730
4 changed files with 48 additions and 10 deletions

15
config.example.php Normal file
View File

@@ -0,0 +1,15 @@
<?php if ( empty($here) ) exit('No direct script access allowed');
/**
* xkcd-Mailer configuration example
* Save me as config.php
*/
// Your timezone, PHP5 required.
// See full list: http://www.php.net/manual/en/timezones.php
date_default_timezone_set("Europe/Helsinki");
// Your destination
$mail = "your@email.com";
$from = "xkcd mailer <xkcdmailer@example.com>";