Skip to content

Instantly share code, notes, and snippets.

@phpfour
Last active August 29, 2015 13:57
Show Gist options
  • Save phpfour/9506391 to your computer and use it in GitHub Desktop.
Save phpfour/9506391 to your computer and use it in GitHub Desktop.
Docudex config
INSERT INTO `configurations` (`config_key`, `config_value`, `locked`)
VALUES
('documentpath1', '{UPLOAD_DIR}/documents', 0),
('system.file.maxsize', '10240', 0),
('system.paths.repository.default', 'documentpath1', 0),
('system.paths.staging', '{WEB_ROOT}/staging', 0),
('system.paths.upload', '{WEB_ROOT}/uploads', 0),
('user.profile.image', '{WEB_ROOT}/uploads/user/image', 0);
INSERT INTO `user_group` (`id`, `name`, `roles`, `description`)
VALUES
(249419507527847936, 'Administrators', 'a:7:{i:0;s:17:\"ROLE_MANAGE_USERS\";i:1;s:18:\"ROLE_MANAGE_GROUPS\";i:2;s:20:\"ROLE_MANAGE_SECURITY\";i:3;s:25:\"ROLE_MANAGE_CONFIGURATION\";i:4;s:21:\"ROLE_MANAGE_DOCUMENTS\";i:5;s:22:\"ROLE_MANAGE_DEPARTMENT\";i:6;s:20:\"ROLE_MANAGE_CATEGORY\";}', 'The administrators have the highest access level.');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment