Gleichsetzung Produktivsystem, Teil 3 + Sicherheitsmaßnahme für temporäres Auschecken von doc/sql
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
Sitemap: http://www.opencaching.de/sitemap.xml
|
||||
User-agent: *
|
||||
User-agent: *
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// Unicode Reminder メモ
|
||||
|
||||
$mailfrom = 'notify@mail.opencaching.de';
|
||||
$mailfrom = 'noreply@opencaching.de';
|
||||
$mailsubject = '[opencaching.de] Neuer Cache: {cachename}';
|
||||
|
||||
$debug = false;
|
||||
@ -9,5 +9,5 @@
|
||||
|
||||
$nologs = 'Keine neuen Logeinträge';
|
||||
|
||||
$notifypid = '../../cache/notify.pid';
|
||||
$notifypid = '/mnt/opencaching/www.opencaching.de/code/htdocs/cache/notify.pid';
|
||||
?>
|
||||
|
@ -20,10 +20,10 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
$rootpath = '../../';
|
||||
require_once($rootpath . 'lib/clicompatbase.inc.php');
|
||||
$rootpath = '/mnt/opencaching/www.opencaching.de/code/htdocs/';
|
||||
require_once('/mnt/opencaching/www.opencaching.de/code/htdocs/lib/clicompatbase.inc.php');
|
||||
require_once('settings.inc.php');
|
||||
require_once($rootpath . 'lib/consts.inc.php');
|
||||
require_once('/mnt/opencaching/www.opencaching.de/code/htdocs/lib/consts.inc.php');
|
||||
require_once($rootpath . 'lib2/html2text.class.php');
|
||||
|
||||
// use posix pid-files to lock process
|
||||
@ -102,7 +102,7 @@
|
||||
if ($r['count'] > 0)
|
||||
{
|
||||
// ok, eine mail ist fäig
|
||||
$mailbody = read_file('watchlist.email');
|
||||
$mailbody = read_file('/mnt/opencaching/www.opencaching.de/code/htdocs/util/watchlist/watchlist.email');
|
||||
$mailbody = mb_ereg_replace('{username}', $rUser['username'], $mailbody);
|
||||
|
||||
$rsWatchesOwner = sql("SELECT id, watchtext FROM watches_waiting WHERE user_id='&1' AND watchtype=1 ORDER BY id DESC", $rUser['user_id']);
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// Unicode Reminder メモ
|
||||
|
||||
$mailfrom = 'watch@mail.opencaching.de';
|
||||
$mailfrom = 'noreply@opencaching.de';
|
||||
$mailsubject = '[opencaching.de] Deine Watchlist vom ' . date('d.m.Y');
|
||||
|
||||
$debug = false;
|
||||
|
Reference in New Issue
Block a user