1
0
Fork 0

Removed some PHP7 deprecated stuff.

Fixed path issue mentioned in https://github.com/DSB/MySQLDumper/issues/5
Dieser Commit ist enthalten in:
dsb 2016-11-09 18:41:24 +01:00
Ursprung bbfad7128b
Commit bd4a75d915
5 geänderte Dateien mit 1120 neuen und 1019 gelöschten Zeilen

Datei anzeigen

@ -307,8 +307,8 @@ switch ($action)
$scriptdir=$config['cron_execution_path'].'crondump.'.$cext;
$sfile=$config['cron_execution_path']."perltest.$cext";
$simplefile=$config['cron_execution_path']."simpletest.$cext";
$scriptentry=Realpfad("./").$config['paths']['config'];
$cronabsolute=(substr($config['cron_execution_path'],0,1)=="/") ? $_SERVER['DOCUMENT_ROOT'].$scriptdir : Realpfad("./").$scriptdir;
$scriptentry=basePath(). $config['paths']['config'];
$cronabsolute=(substr($config['cron_execution_path'],0,1)=="/") ? $_SERVER['DOCUMENT_ROOT'].$scriptdir : basePath().$scriptdir;
$confabsolute=$config['config_file'];
$scriptref=getServerProtocol().$_SERVER['SERVER_NAME'].$refdir.$config['cron_execution_path'].'crondump.'.$cext."?config=".$confabsolute;
$cronref="perl ".$cronabsolute." -config=".$confabsolute." -html_output=0";