File: defaults.php

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (123 lines) | stat: -rw-r--r-- 5,737 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php // $Id: defaults.php,v 1.80.2.5 2006/09/07 05:50:07 skodak Exp $

// This file is generally only included from admin/index.php
// It defines default values for any important configuration variables

   $defaults = array (
       'allowcoursethemes'        =>  false,
       'allowemailaddresses'      =>  '',
       'allowobjectembed'         =>  false,
       'allowunenroll'            =>  true,
       'allowusermailcharset'     =>  0,
       'allowuserthemes'          =>  false,
       'allowuserblockhiding'     =>  true,
       'allusersaresitestudents'  =>  true,
       'alternateloginurl'        => '',
       'aspellpath'               => '',
       'auth'                     => 'email',
       'auth_pop3mailbox'         => 'INBOX',
       'autologinguests'          =>  0,
       'bloglevel'                =>  4,
       'cachetext'                =>  60,
       'changepassword'           =>  '',
       'country'                  => '',
       'coursesperpage'           =>  20,
       'clamfailureonupload'      => 'donothing',
       'dbsessions'               =>  false,
       'debug'                    =>  5,
       'defaultrequestedcategory' =>  1,
       'deleteunconfirmed'        =>  168,
       'denyemailaddresses'       =>  '',
       'digestmailtime'           =>  17,
       'displayloginfailures'     => '',
       'docroot'                  => 'http://docs.moodle.org',
       'doctonewwindow'           =>  0,
       'enablecourserequests'     =>  0,
       'enablerssfeeds'           =>  0,
       'enablestats'              =>  0,
       'enrol'                    => 'internal',
       'extendedusernamechars'    =>  false,
       'editorbackgroundcolor'    => '#ffffff',
       'editorfontfamily'         => 'Trebuchet MS,Verdana,Arial,Helvetica,sans-serif',
       'editorfontsize'           => '',
       'editorkillword'           =>  1,
       'editorspelling'           =>  0,
       'editorfontlist'           => 'Trebuchet:Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial:arial,helvetica,sans-serif;Courier New:courier new,courier,monospace;Georgia:georgia,times new roman,times,serif;Tahoma:tahoma,arial,helvetica,sans-serif;Times New Roman:times new roman,times,serif;Verdana:verdana,arial,helvetica,sans-serif;Impact:impact;Wingdings:wingdings',
       'editorhidebuttons'        => '',
       'filterall'                =>  false,
       'filtermatchoneperpage'    =>  0,
       'filtermatchonepertext'    =>  0,
       'filteruploadedfiles'      =>  0,
       'forcelogin'               =>  false,
       'forceloginforprofiles'    =>  false,
       'forcetimezone'            =>  99,
       'fullnamedisplay'          => 'firstname lastname',
       'framename'                => '_top',
       'frontpage'                =>  1,
       'gdversion'                =>  1,
       'guestloginbutton'         =>  1,
       'htmleditor'               =>  true,
       'lang'                     =>  !empty($CFG->unicodedb) ? 'en_utf8' : 'en',
       'langcache'                =>  1,
       'langmenu'                 =>  1,
       'langlist'                 => '',
       'locale'                   => '', // by default language pack locales should be used
       'loginhttps'               =>  false,
       'loglifetime'              =>  0,
       'longtimenosee'            =>  100,
       'maxbytes'                 =>  0,
       'maxeditingtime'           =>  1800,
       'messaging'                =>  true,
       'mymoodleredirect'         =>  false,
       'noreplyaddress'           => 'noreply@'.$_SERVER['HTTP_HOST'],
       'notifyloginfailures'      => '',
       'notifyloginthreshold'     =>  10,
       'opentogoogle'             =>  false,
       'pathtoclam'               => '',
       'pathtodu'                 => '',
       'prefix'                   => '',
       'perfdebug'                => 0,
       'protectusernames'         => 1,       
       'proxyhost'                => '',
       'proxyport'                => '',
       'quarantinedir'            => '',
       'requestedteachername'     => '',
       'requestedteachersname'    => '',
       'requestedstudentname'     => '',
       'requestedstudentsname'    => '',
       'restrictmodulesfor'       =>  'none',
       'restrictbydefault'        =>  0,
       'runclamonupload'          =>  0,
       'secureforms'              =>  false,
       'sessioncookie'            => '',
       'sessioncookiepath'        => '/',
       'sessiontimeout'           =>  7200,
       'showsiteparticipantslist' =>  0,
       'showblocksonmodpages'     =>  0,
       'sitemailcharset'          => '',
       'sitepolicy'               => '',
       'slasharguments'           =>  1,
       'smtphosts'                => '',
       'smtppass'                 => '',
       'smtpuser'                 => '',
       'statsfirstrun'            => 'none',
       'statsmaxruntime'          =>  0,
       'statsuserthreshold'       =>  0,
       'style'                    => 'default',
       'tabselectedtofront'       =>  false,
       'teacherassignteachers'    =>  true,
       'template'                 => 'default',
       'textfilters'              => 'mod/glossary/dynalink.php',
       'theme'                    => 'standardwhite',
       'themelist'                => '',
       'timezone'                 =>  99,
       'tinymceplugins'           => 'advimage,fullscreen',
       'tinymcetheme'             => 'advanced',
       'tinymcecontentcss'        => $CFG->httpswwwroot .'/lib/editor/tinymce/moodlecontent.css',
       'tinymcepopupcss'          => '',
       'tinymceeditorcss'         => '',
       'unzip'                    => '',
       'zip'                      => ''
    );

?>