[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/include/fckeditor/editor/filemanager/browser/default/connectors/php/ -> config.php (source)

   1  <?php 
   2  /*
   3   * FCKeditor - The text editor for internet
   4   * Copyright (C) 2003-2005 Frederico Caldeira Knabben
   5   * 
   6   * Licensed under the terms of the GNU Lesser General Public License:
   7   *         http://www.opensource.org/licenses/lgpl-license.php
   8   * 
   9   * For further information visit:
  10   *         http://www.fckeditor.net/
  11   * 
  12   * "Support Open Source software. What about a donation today?"
  13   * 
  14   * File Name: config.php
  15   *     Configuration file for the File Manager Connector for PHP.
  16   * 
  17   * File Authors:
  18   *         Frederico Caldeira Knabben (fredck@fckeditor.net)
  19   */
  20  
  21  global $Config ;
  22  
  23  // SECURITY: You must explicitelly enable this "connector". (Set it to "true").
  24  $Config['Enabled'] = false ;
  25  
  26  // Path to user files relative to the document root.
  27  $Config['UserFilesPath'] = '/UserFiles/' ;
  28  
  29  // Fill the following value it you prefer to specify the absolute path for the
  30  // user files directory. Usefull if you are using a virtual directory, symbolic
  31  // link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
  32  // Attention: The above 'UserFilesPath' must point to the same directory.
  33  $Config['UserFilesAbsolutePath'] = '' ;
  34  
  35  $Config['AllowedExtensions']['File']    = array() ;
  36  $Config['DeniedExtensions']['File']        = array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;
  37  
  38  $Config['AllowedExtensions']['Image']    = array('jpg','gif','jpeg','png') ;
  39  $Config['DeniedExtensions']['Image']    = array() ;
  40  
  41  $Config['AllowedExtensions']['Flash']    = array('swf','fla') ;
  42  $Config['DeniedExtensions']['Flash']    = array() ;
  43  
  44  $Config['AllowedExtensions']['Media']    = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
  45  $Config['DeniedExtensions']['Media']    = array() ;
  46  
  47  ?>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7