Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpWebFileManager/config.inc.php between version 1.13 and 1.14

version 1.13, 2002/04/21 10:01:08 version 1.14, 2002/07/21 22:49:42
Line 22 
Line 22 
 /*  /*
  * User defined preprocess   * User defined preprocess
  *   *
  * If you want to secure this script with some include("auth.php")   * If you want to secure this script with some include("auth.php") or
  * or something like that, that stuff goes here. phpWebFileManager   * something like that, that stuff goes here. phpWebFileManager
  * includes this config file before doing anything else.   * includes this config file before doing anything else.
  */   */
   
 /* Example:  /* Example:
  *   *
  * $orig_dir = getcwd();   *   $orig_dir = getcwd();
    *   chdir(some_dir);
    *   require_once 'auth.php';
    *   chdir($orig_dir);
  *   *
  * // security stuff   * or simply use phpWebFileManager auth plugin
  * chdir("..");  
  * include_once("auth.php");  
  *   *
  * chdir($orig_dir);   *   require_once("auth.php");
  */   */
   
   
 /*  /*
  * Original variables   * Original variables
  *   *
Line 47 
Line 47 
  * Example: action=show_files&user=12&key=1234567890abcdef   * Example: action=show_files&user=12&key=1234567890abcdef
  */   */
   
 $phpWebFileManager_ORIGINAL_VARIABLES = '';  $fm_cfg['origvars'] = '';
   
 /*  /*
  * Language   * Language
Line 61  $phpWebFileManager_ORIGINAL_VARIABLES =
Line 61  $phpWebFileManager_ORIGINAL_VARIABLES =
  *              eng - english   *              eng - english
  *              ger - german   *              ger - german
  *              svk - slovak   *              svk - slovak
    *              nor - norwegian
  */   */
   
 $phpWebFileManager_LANGUAGE = 'eng';  $fm_cfg['lang'] = 'eng';
   
 /*  /*
  * Directories constants   * Directories constants
  *   *
  * phpWebFileManager_ROOT_DIR - root directory. phpWebFileManager guarantee   * First constant defines root directory. phpWebFileManager guarantee
  * that is impossible to get to the higher level. This parameter could be   * that is impossible to get to the higher level. This parameter could
  * only relative to the phpWebFileManager script on the same web server.   * be only relative to the phpWebFileManager script on the same web
  * Support for absolute path will be added nearly in future.   * server. Support for absolute path will be added nearly in future.
  *   *
  * phpWebFileManager_START_DIR - starting directory. It says where to start   * Second constant defines starting directory. It says where to start
  * when it is runned first time of session. Remember that starting directory   * when it is runned first time of session. Remember that starting
  * is relative to root directory.   * directory is relative to root directory.
  */   */
   
 $phpWebFileManager_ROOT_DIR = '';  $fm_cfg['dir']['root']  = '';
 $phpWebFileManager_START_DIR = '';  $fm_cfg['dir']['start'] = '';
   
 /*  /*
  * Links prefix   * Links prefix
  *   *
  * phpWebFileManager_LINKS_PREFIX parameter is path prefix component used   * This options specifies prefix component used to build links
  * to build links (A HREF references) for View feature.   * (A HREF references) for View feature.
  */   */
   
 $phpWebFileManager_LINKS_PREFIX = '';  $fm_cfg['url'] = '';
   //$fm_cfg['url'] = 'file.php?path=';
   
 /*  /*
  * File create & upload constants   * File create & upload constants
  *   *
  * phpWebFileManager_DIR_MODE - Creation mode of new directories (must be set)   * First constant specifies creation mode of new directories. It must
  * example: 0777   * be set. If unsure, leave default value of 0777.
  *   *
  * phpWebFileManager_FILE_MODE - Creation mode of new files or mode   * Second constant specifies creation mode of new files or mode for
  * for uploaded files. Set it to 0 if you want to create files with default   * uploaded files. Set it to 0 if you want to create files with
  * premissions.   * default premissions.
  */   */
   
 $phpWebFileManager_DIR_MODE  = 0777;  $fm_cfg['mode']['dir']  = 0777;
 $phpWebFileManager_FILE_MODE = 0;  $fm_cfg['mode']['file'] = 0;
   
 /*  /*
  * Date format   * Date format
  *   *
  * Every language has its own date format string. You can override it here   * Every language has its own date format string. You can override it
  * by specifing new date format. It will be in exact form passed to date()   * here by specifing new date format. It will be in exact form passed
  * function. Leave this variable empty, if you want to use language specific   * to date() function. Leave this variable empty, if you want to use
  * date format.   * language specific date format.
  *   *
  * Examples:   * Examples:
  *   'M&\n\b\s\p;d,&\n\b\s\p;Y'  // Mar 24, 2002   *   'M&\n\b\s\p;d,&\n\b\s\p;Y'  // Mar 24, 2002
Line 118  $phpWebFileManager_FILE_MODE = 0;
Line 120  $phpWebFileManager_FILE_MODE = 0;
  *   'd.m.Y'                     // 25.03.2002   *   'd.m.Y'                     // 25.03.2002
  */   */
   
 $phpWebFileManager_DATE_FORMAT = '';  $fm_cfg['format']['date'] = '';
   
 /*  /*
  * Column show constants   * Column show constants
  *   *
  * Allow/disable specific column display.   * Allow/disable displaying of specific column.
  */   */
   
 $phpWebFileManager_SHOW_ICONS     = 1;  $fm_cfg['show']['icons'] = 1;
 $phpWebFileManager_SHOW_FILE_SIZE = 1;  $fm_cfg['show']['size']  = 1;
 $phpWebFileManager_SHOW_FILE_DATE = 1;  $fm_cfg['show']['date']  = 1;
   
 /*  /*
  * Features forbid constants   * Features enable constants
  *   *
  * You can deny some features provided by phpWebFileManager by setting up   * You can enable some features provided by phpWebFileManager by
  * appropriate constant to value of 1. If you want all features, set all   * setting up appropriate constant to value of 1. If you want to deny
  * constants to value of 0.   * all features, set all constants to value of 0.
  *   *
  * Following directory symlinks is forbidden by default.   * Following directory symlinks is forbidden by default.
  */   */
   
 $phpWebFileManager_DENY_DIR_RENAME = 0;  $fm_cfg['perm']['dir']['rename'] = 1;
 $phpWebFileManager_DENY_DIR_REMOVE = 0;  $fm_cfg['perm']['dir']['remove'] = 1;
 $phpWebFileManager_DENY_DIR_CREATE = 0;  $fm_cfg['perm']['dir']['create'] = 1;
 $phpWebFileManager_DENY_DIR_ENTER  = 0;  $fm_cfg['perm']['dir']['enter']  = 1;
 $phpWebFileManager_DENY_DIR_FOLLOW_SYMLINKS  = 1;  $fm_cfg['perm']['dir']['follow_symlinks'] = 0;
   
 $phpWebFileManager_DENY_FILE_RENAME = 0;  $fm_cfg['perm']['file']['rename'] = 1;
 $phpWebFileManager_DENY_FILE_DELETE = 0;  $fm_cfg['perm']['file']['delete'] = 1;
 $phpWebFileManager_DENY_FILE_VIEW   = 0;  $fm_cfg['perm']['file']['view']   = 1;
 $phpWebFileManager_DENY_FILE_CREATE = 0;  $fm_cfg['perm']['file']['create'] = 1;
 $phpWebFileManager_DENY_FILE_UPLOAD = 0;  $fm_cfg['perm']['file']['upload'] = 1;
   
 /*  /*
  * Colors constats   * Colors constats
  *   *
  * Rows background colors specifications. If not specified no background   * Rows background colors specifications. If not specified no background
  * color will be used for appropriate rows.   * color will be used for appropriate rows.
  * Hint: lightblue = #add8e6   *
    * Example:
    *   '#add8e6' - it defines lightblue color
  */   */
   
 $phpWebFileManager_EVEN_ROWS_BGCOLOR = '#a0c9c9';  $fm_cfg['color']['even'] = '#a0c9c9';
 $phpWebFileManager_ODD_ROWS_BGCOLOR = '';  $fm_cfg['color']['odd'] = '';
   
 ?>  ?>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top