app.yml 896 Bytes
Newer Older
Яков's avatar
first  
Яков committed
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
all:
  csSettingsPlugin:
    types:      
      input:        Text Field
      textarea:     Text Area
      checkbox:     Checkbox
      select:       Select List
      yesno:        Yes/No Radios
      datetime:     Date/Time
      model:        Database Model
      upload:       Upload
      richtext:     Rich Text
    
    authMethod:     isAdmin      #used to determine if user is able to edit settings
    
    authCredential: admin      #used to determine if user is able to edit settings
    
    cachepaths:                       #override the cache path, for whatever reason you might want to
      settings_array: cs_settings.settings_array.cache
      object_array:   cs_settings.obj_array.cache

    cache:
      class: sfFileCache
      options:
        automatic_cleaning_factor: 0
        cache_dir: %SF_CACHE_DIR%/cs_settings
        lifetime: 86400
        prefix: cs_settings