PHP Classes

little change

Recommend this page to a friend!

      PHP File Manager  >  All threads  >  little change  >  (Un) Subscribe thread alerts  
Subject:little change
Summary:backslash an their bugs
Messages:2
Author:Superluk
Date:2017-04-11 11:23:40
 

  1. little change   Reply   Report abuse  
Picture of Superluk Superluk - 2017-04-11 11:23:40
maybe you need to change line 1308 from this:

var _tmp = '<?php echo str_replace("\\\",\\",$FM->getPath());?>';

because of this errormessage:
[11-Apr-2017 13:01:40 Europe/Berlin] PHP Warning: str_replace() expects at least 3 parameters, 2 given in filemanager/filemanager.php on line 1308


to this:
var _tmp = '<?php echo str_replace("\\\\","\\",$FM->getPath());?>';


  2. Re: little change   Reply   Report abuse  
Picture of Duong Huynh Nghia Duong Huynh Nghia - 2017-04-11 14:50:21 - In reply to message 1 from Superluk
Hi,

Thanks for you help,

Let me check and change.

Regards.