Lines Matching refs:Config

29 global $Config ;
42 $Config['Enabled'] = true ;
51 $Config['osDarwin'] = DWFCK_is_OS('DARWIN') ? true : false;
70 $Config['osWindows'] = $isWindows;
85 $Config['isWinStyle'] = $useWinStyle;
87 if(!isset($Config['UserFilesAbsolutePath']) || !isset($Config['UserFilesPath'])) {
97 $Config['UserFilesPath'] = $savedir .'/pages/';
98 $Config['UserFilesAbsolutePath'] = $Config['UserFilesPath'];
100 else $Config['UserFilesPath'] = str_replace('/media', '/pages', $Config['UserFilesPath']);
104 $Config['UserFilesAbsolutePath'] = $Dwfck_conf_values['ckg_savedir'] . '/pages/';
106 …else $Config['UserFilesAbsolutePath'] = str_replace('\\media', '\\pages', $Config['UserFilesAbsolu…
110 $Config['UserFilesAbsolutePath'] = $Dwfck_conf_values['ckg_savedir'] . '/pages/';
112 …else $Config['UserFilesAbsolutePath'] = str_replace('/media', '/pages/', $Config['UserFilesAbsolut…
113 $Config['UserFilesAbsolutePath'] = rtrim($Config['UserFilesAbsolutePath'],'/') . '/';
116 $Config['UserFilesAbsolutePath'] = $_COOKIE['FCK_farmlocal'] . '/';
118 $Config['UserFilesPath'] = $matches[1] . '/data/pages/';
120 else $Config['UserFilesPath'] = '../' . $animal . '/data/pages/';
140 $Config['UserFilesPath'] = str_replace('/media', '/pages', $Config['UserFilesPath']);
142 …$Config['UserFilesAbsolutePath'] = str_replace('\\media', '\\pages', $Config['UserFilesAbsolutePat…
145 …$Config['UserFilesAbsolutePath'] = str_replace('/media', '/pages', $Config['UserFilesAbsolutePath'…
156 $Config['ForceSingleExtension'] = true ;
160 $Config['SecureImageUploads'] = true;
163 $Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndF…
166 $Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash', 'Media') ;
170 $Config['HtmlExtensions'] = array("html", "htm", "xml", "xsd", "txt", "js") ;
178 $Config['ChmodOnUpload'] = $Dwfck_conf_values['fmode'] ;
179 $Config['ChmodOnFolderCreate'] = $Dwfck_conf_values['dmode'] ;
182 $Config['ChmodOnUpload'] = 0755 ;
183 $Config['ChmodOnFolderCreate'] = 0755 ;
192 global $Config,$animal;
196 $Config['UserFilesAbsolutePath'] = $dir;
199 $Config['UserFilesPath'] = $relative_dir;
203 global $Config, $Dwfck_conf_values;
222 $Config['UserFilesAbsolutePath'] = $dir;
226 $Config['UserFilesPath'] = $base_url . 'lib/plugins/ckgdoku/fckeditor/' . $animal .'/';
228 else $Config['UserFilesPath'] = $base_url . 'data/media/';
236 global $Config ;
287 global $Config;
340 $Config['AllowedExtensions']['File'] = array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv',
348 …$Config['AllowedExtensions']['File'] = array_merge($Config['AllowedExtensions']['File'],$extensio…
350 $Config['DeniedExtensions']['File'] = array() ;
351 …$Config['AllowedExtensions']['Image'] = array_merge(array('bmp','gif','jpeg','jpg','png'),$image_e…
352 $Config['DeniedExtensions']['Image'] = array() ;
353 $Config['AllowedExtensions']['Flash'] = array('swf','flv') ;
354 $Config['DeniedExtensions']['Flash'] = array() ;
355 …$Config['AllowedExtensions']['Media'] = array_merge(array('aiff', 'asf', 'avi', 'bmp', 'fla', 'flv…
357 $Config['DeniedExtensions']['Media'] = array() ;
392 $Config['FileTypesPath'][$type] = $Config['UserFilesPath'] . $abs_type_dir; // $dir_type;
393 …$Config['FileTypesAbsolutePath'][$type] = $Config['UserFilesAbsolutePath'] . $abs_type_dir; // $ab…
394 … $Config['QuickUploadPath'][$type] = $Config['UserFilesPath'] . $abs_type_dir; // $dir_type ;
395 $Config['QuickUploadAbsolutePath'][$type]= $Config['UserFilesAbsolutePath'] . $abs_type_dir;
397 $Config['FileTypesPath'][$type] = $Config['UserFilesPath'] . $abs_type_dir; //$dir_type;
398 $Config['FileTypesAbsolutePath'][$type] = $Config['UserFilesAbsolutePath'] . $abs_type_dir ;
433 global $Config;
481 global $Config;
485 …file_put_contents($fname, $Config['UserFilesAbsolutePath'] . "\r\n" . $Config['UserFilesPath'] . "…