From 394c7b22a2bb795c5bfd50955cbdfb7cd9ee8cdd Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Sun, 7 Jun 2009 22:17:07 +0000 Subject: [PATCH] changed: mount points git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@508 e52654a7-88a9-db11-a3e9-0013d4bc506e --- core/mounts.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/mounts.cpp b/core/mounts.cpp index b7b9af3..dee5f57 100755 --- a/core/mounts.cpp +++ b/core/mounts.cpp @@ -19,10 +19,14 @@ void Mounts::ReadMounts() MountParser mp; // !! tymczasowo - bedzie odczyt z bazy z /etc/fstab + std::string temp = "cms / withheader, withinfo \n" - "thread /news desc, withheader, withinfo, restrictcreatethread(-1) \n" + "thread /news desc, withheader, thread_with_header, thread_with_info, restrictcreatethread(-1) \n" "thread /forum asc, withheader, withinfo, thread_with_info, restrictcreatethread(3), only_root_can_remove, can_use_emacs_on(4), can_use_mkdir_on(3)"; + + + Error err = mp.Parse(temp, mount_table);