removed: from Session: done, done_status, timers git-svn-id: svn://ttmath.org/publicrep/winix/trunk@594 e52654a7-88a9-db11-a3e9-0013d4bc506e
36 lines
583 B
C++
Executable File
36 lines
583 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#include "content.h"
|
|
#include "../core/request.h"
|
|
#include "../core/data.h"
|
|
|
|
|
|
|
|
void Content::CheckSpecialFile()
|
|
{
|
|
static std::string fstab = "fstab";
|
|
|
|
Item * etc = data.dirs.GetEtcDir();
|
|
|
|
if( !etc )
|
|
return;
|
|
|
|
if( request.item.parent_id != etc->id )
|
|
return;
|
|
|
|
if( request.item.url == fstab )
|
|
{
|
|
log << log3 << "Content: reloading mount points" << logend;
|
|
|
|
request.status = data.mounts.ReadMounts(request.item.content);
|
|
}
|
|
}
|
|
|