示例#1
0
 function SetLastPathes($arPathes = array())
 {
     if (count($arPathes) == 0) {
         $arPathes = CFileMan::GetLastPathesDefault();
     }
     $arPathes = array_slice($arPathes, 0, 10);
     CUserOptions::SetOption("fileman", "last_pathes", serialize($arPathes));
 }