added: new plugin: menu

fixed: System::FollowAllLinks didn't check permissions to a file (only to a simlink or a directory)
added: new ezc function: insert_page
       now we are able to nest pages in pages



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@750 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-07-13 23:14:10 +00:00
parent ccc02f41bf
commit 1812a2e9ad
16 changed files with 551 additions and 16 deletions

View File

@@ -356,14 +356,12 @@ Item * Dirs::GetDir(const std::wstring & path)
// ops, we do not have a root dir
return 0;
Item * pitem = &(*root);
std::wstring name; // !! dodac jako skladowa klasy
Item * pitem = &(*root);
const wchar_t * s = path.c_str();
while( ExtractName(s, name) )
while( ExtractName(s, get_dir_temp) )
{
pitem = GetDir(name, pitem->id);
pitem = GetDir(get_dir_temp, pitem->id);
if( !pitem )
return 0;