C:\xampp\htdocs\kptv\admin\spaw2\plugins\spawfm\config\config.php


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
<?php
// global filetypes definitions
// warning: changing default filetypes may lead to unexpected behaviour 
SpawConfig::setStaticConfigItem(
  
'PG_SPAWFM_FILETYPES',
  array(
    
// default filetypes
    
'any'           => array('.*'),
    
'images'        => array('.jpg''.gif''.png'),
    
'flash'         => array('.swf'),
    
'documents'     => array('.doc''.xls''.pdf''.rtf''.odt''.ods''.txt'),
    
'audio'         => array('.wav''.mp3''.ogg''.wma'),
    
'video'         => array('.avi''.mpg''.mpeg''.mov''.wmv'),
    
'archives'      => array('.zip''.rar''.gz'),
    
// add your custom filetypes below
    //'' => '',
  
), 
  
SPAW_CFG_TRANSFER_SECURE
);

// filetypes icons:
// default icons
SpawConfig::setStaticConfigItem(
  
'PG_SPAWFM_FILETYPES_ICON_DEFAULT',
  array(
    
'icon'      => 'ico_default.gif',
    
'icon_big'  => 'ico_default_big.gif',
  )
);
// icons for folders
SpawConfig::setStaticConfigItem(
  
'PG_SPAWFM_FILETYPES_ICON_FOLDER',
  array(
    
'icon'      => 'ico_folder.gif',
    
'icon_big'  => 'ico_folder_big.gif',
  )
);  

// icons for specific filetypes (determined by their extensions)
SpawConfig::setStaticConfigItem(
  
'PG_SPAWFM_FILETYPES_ICONS',
  array(
    array(
      
'extensions'  => array('.jpg''.gif''.png'),
      
'icon'        => 'ico_image.gif',
      
'icon_big'    => 'ico_image_big.gif',
    ),
    array(
      
'extensions'  => array('.swf'),
      
'icon'        => 'ico_flash.gif',
      
'icon_big'    => 'ico_flash_big.gif',
    ),
    
/*
    array(
      'extensions'  => array('.doc', '.xls', '.pdf', '.rtf', '.odt', '.ods', '.txt'),
      'icon'        => 'ico_document.gif',
      'icon_big'    => 'ico_document_big.gif',
    ),
    */
  
)
);

// character to separate base dir path and subdir (should be unused in filesystem names)
SpawConfig::setStaticConfigItem(
  
'spawfm_path_separator',
  
'|',
  
SPAW_CFG_TRANSFER_JS
);
?>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586