Commit 83305005 authored by changi67's avatar changi67

Notice

parent a2e477a9
......@@ -68,7 +68,7 @@ if ($s) {
// check file upload dir and compare it to tiki root dir
$s = ini_get('upload_tmp_dir');
$sn = substr($_SERVER['SCRIPT_NAME'], 0, -23);
if (strpos($sn, $s) !== FALSE) {
if ( $s != "" && strpos($sn, $s) !== FALSE) {
$phpsettings['upload_tmp_dir'] = array(
'risk' => tra('unsafe') ,
'setting' => $s,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment