Closed GoogleCodeExporter closed 8 years ago
another problem with this:
in initialise.php at line 147 and ...
$rootdir = (strpos($kfm_userfiles_address, './')===0 ||
strpos($kfm_userfiles_address, '../')===0) ?
KFM_BASE_PATH.str_replace('./','',$kfm_userfiles_address):$kfm_userfiles_address
.'/';
$rootdir = realpath($rootdir);
if (!is_dir($rootdir))mkdir($rootdir, 0755);
if (!is_dir($rootdir)) {
realpath returns false if path is not correct.
after false the $rootdir cannot create because rootdir is false.
Original comment by nilsfeld@gmail.com
on 4 Dec 2009 at 9:40
look issue 33 initialise.php on line 153-168
Original comment by nilsfeld@gmail.com
on 21 Dec 2009 at 12:51
this will not work if the $kfm_userfiles_address is "../test/"
Original comment by kae.verens@gmail.com
on 27 Dec 2009 at 5:55
fixed with http://code.google.com/p/kfm/source/detail?r=952
Original comment by nilsfeld@gmail.com
on 28 Dec 2009 at 12:39
Original issue reported on code.google.com by
nilsfeld@gmail.com
on 3 Dec 2009 at 7:10