-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwebfactp.install
29 lines (26 loc) · 903 Bytes
/
webfactp.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* @file
* Install, update and uninstall functions for the webfactp installation profile.
*/
/**
* Implements hook_install().
*
* Perform actions to set up the site for this profile.
*
* @see system_install()
*/
function webfactp_install() {
include_once DRUPAL_ROOT . '/profiles/standard/standard.install';
standard_install();
#include_once DRUPAL_ROOT . '/profiles/minimal/minimal.install';
#minimal_install();
// Default "Basic page" to not be promoted and have comments disabled.
variable_set('node_options_page', array('status'));
variable_set('comment_page', COMMENT_NODE_HIDDEN);
// Don't display date and author information for "Basic page" nodes by default.
variable_set('node_submitted_page', FALSE);
// Allow visitor account creation with administrative approval.
variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL);
}
?>