Flatnux CMS

Open Source Content Management System

Login



 stay connected
Password recovery
Register

Search

Search:
Make a donation to the project:

Newsletter

To get our newsletter please enter your email and click on ”subscribe”. If you want to cancel the newsletter please enter your email and click on ”remove”

Forum->Flatnux->errore tipografico nel filemanager
  
Welcome Unknown Register Help383 Users

User Message


johndorazio

0 Level 0 10

levellevellevellevellevellevellevellevellevellevel
profile mail home
Tuesday 02 November 2010 - 01:39

errore tipografico nel filemanager:
Sfogliando del codice riguardo al filemanager penso di aver trovato un errore tipografico...

In "/sections/none_filemanager/section.php", intorno alle righe 184-188, nella funzione "fm_dodel_file($dir, $file)", leggo:
	if ( is_dir("$dir{$_FN['slash']}$file") )
{
//echo "deldir $dir{$_FN['slash']}$file";
rmdird("$dir{$_FN['slash']}$file");
}

Suppongo che "rmdird" dovrebbe essere "rmdir":

	if ( is_dir("$dir{$_FN['slash']}$file") )
{
//echo "deldir $dir{$_FN['slash']}$file";
rmdir("$dir{$_FN['slash']}$file");
}


____________________________
"The whole of science is nothing more than a refinement of everyday thinking." (Albert Einstein)

 [1]

Last news