09-01-2010, 06:54 PM
(This post was last modified: 09-01-2010, 06:55 PM by matteo lucarelli.)
The readlink function is available on windows system starting from php 5.3.0.
to let things works on your system you can symply replace the:
if (isset($_GET["logname"])) $logname=$_GET["logname"];
else if (@readlink($settings->_contentDir."current.log")){
$logname=basename(@readlink($settings->_contentDir."current.log"));
}else $logname=NULL;
with:
if (isset($_GET["logname"])) $logname=$_GET["logname"];
else $logname=NULL;
let me know,
Matteo
to let things works on your system you can symply replace the:
if (isset($_GET["logname"])) $logname=$_GET["logname"];
else if (@readlink($settings->_contentDir."current.log")){
$logname=basename(@readlink($settings->_contentDir."current.log"));
}else $logname=NULL;
with:
if (isset($_GET["logname"])) $logname=$_GET["logname"];
else $logname=NULL;
let me know,
Matteo