source: contrib/Dms/setup/default_records.inc.php @ 3526

Revision 3526, 1.3 KB checked in by afernandes, 13 years ago (diff)

Ticket #1416 - Disponibilizado modulos Timesheet e DMS para a comunidade.

  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * eGroupWare - mydms                                                       *
4        * http://www.egroupware.org                                                *
5        * This application is ported from Mydms                                    *
6        *        by Lian Liming <dawnlinux@realss.com>                             *
7        * --------------------------------------------                             *
8        *  This program is free software; you can redistribute it and/or modify it *
9        *  under the terms of the GNU General Public License as published by the   *
10        *  Free Software Foundation; version 2 of the License                      *
11        \**************************************************************************/
12
13        /*Write the Root Folder name into the database*/
14        #$oProc->query("INSERT INTO phpgw_mydms_Folders VALUES (1, 'Root-Folder', 0, 'no comment', 1, false, 2, 0)");
15        #$oProc->query("INSERT INTO phpgw_mydms_Folders VALUES (1, 'Root-Folder', 0, 'no comment', 1, 0, 2, 0)");
16
17        $rootFolder = array(
18                'name'          => 'Root-Folder',
19                'parent'        => 0,
20                'comment'       => 'no comment',
21                'owner'         => 1,
22                'inheritAccess' => 0,
23                'defaultAccess' => 2,
24                'sequence'      => 0,
25        );
26
27        //$GLOBALS['phpgw_setup']->oProc->insert('phpgw_mydms_Folders', $rootFolder, '', __LINE__, __FILE__, 'mydms');
28?>
Note: See TracBrowser for help on using the repository browser.