- fixing some undefined variables

- added missing dkim_notes field to settings-table
This commit is contained in:
Michael Kaufmann (d00p)
2010-03-30 09:18:22 +00:00
parent ab1e3c3fc8
commit 043ca2ff5a
4 changed files with 30 additions and 3 deletions

View File

@@ -24,6 +24,12 @@ if(@php_sapi_name() != 'cli'
die('This script will only work in the shell.');
}
// ensure that default timezone is set
if(function_exists("date_default_timezone_set") && function_exists("date_default_timezone_get"))
{
@date_default_timezone_set(@date_default_timezone_get());
}
$lockdir = '/var/run/';
$lockFilename = 'froxlor_' . basename($_SERVER['PHP_SELF'], '.php') . '.lock-';
$lockfName = $lockFilename . getmypid();