INSTALL - Rev 20040127
--------------------------------------------------------------------------------

 - Index -
  . Quick Install
  . Normal Install
  . Configurations

--------------------------------------------------------------------------------

 . Quick Install

  1 - Untar or UnZip the file: tar -zxvf indexer_x.x.tar.gz in your webserver's
      document root. If you don't have access to your document root,
      skip to normal install.

  2 - Copy the files indexer.php, and inc_indexer.php from the indexer_x.x
      directory to the document root. 

  3 - Copy the contents of indexer_x.x/icons/ to your webserver icons folder.

  4 - Edit the apache.conf and add "/indexer.php" to the end of
      "DirectoryIndex" option, and restart your apache.
 
  5 - PHP Directory Indexer is ready to use, to know more about the
      configurations, jump to Configurations Chapter.

--------------------------------------------------------------------------------

 . Normal Install

  1 - Untar or Unzip the file: tar -zxvf indexer_x.x.tar.gz to any web
      accessible directory.

  2 - Now, you can choose to copy the files indexer.php, and inc_indexer.php 
      from the indexer_x.x directory to the document root, or to keep them
      there.

  3 - If can also choose to copy the contents of indexer_x.x/icons/ to your 
      webserver icons folder, to keep them there, or to copy them to
      somewhere else that is web accessible.

  4 - Now you can edit the apache.conf and add "/indexer.php" to the end of
      DirectoryIndex option and restart your apache, to enable system wide, 
      or add an .htaccess to every directory that you want to use 
      PHP Directory Indexer, with the contents:
	"DirectoryIndex /web/path/to/indexer.php"
 
  5 - Edit inc_indexer.php and configure the icons path, and other 
      configuration options.

  6 - PHP Directory Indexer is ready to use, to know more about the
      configurations, jump to Configurations Chapter.

--------------------------------------------------------------------------------

 . Configurations

$opcao['ordenar']
  Includes the form to select order style (Name, Data and Size).
  Options:
   "0" - Don't Include
   "1" - Include
  Default: "1"


$opcao['estilo']
  Includes the form to select the theme
  Options:
   "0" - Don't Include
   "1" - Include
  Default: "1"


$opcao['showmode']
  Includes the form to select the view mode
  Options:
   "0" - Don't Include
   "1" - Include
  Default: "1"


$opcao['data']
  Shows the Last Modified Date in files and folders
  Options:
   "0" - Dont's Show
   "1" - Show
  Default: "1"


$opcao['data-formato']
  Define the date format
   The options are like the date() function
   Check http://www.php.net/manual/en/function.date.php for more info
  Default: "H:i:s d.M Y"


$opcao['tamanho']
  Shows the size of the files
  Options:
   "0" - Dont's Show
   "1" - Show
  Default: "1"


$opcao['itens']
  Shows the number of items inside a directory

   NOTE: For now this don't work in Windows. Please change to "0"

  Options:
   "0" - Dont's Show
   "1" - Show
  Default: "1"


$opcao['tipo']
  Shows information about a file in 'detailed' view mode

   NOTE: For now this don't work in Windows. Please change to "0"

  Options:
   "0" - Dont's Show
   "1" - Show
  Default: "1"


$opcao['icon-path']
  Define the path where are the icons
  Default: "/icons/"


$opcao['icon-width']
  Define the width of the icons
  Default: "50"


$opcao['icon-height']
  Define the height of the icons
  Default: "50"


$opcao['icon-small-width']
  Define the width of the small icons
  Default: "15"


$opcao['icon-small-height']
  Define the height of the small icons
  Default: "15"


$opcao['lang']
  Define the language of PHP Directory Indexer
  Options:
   "pt_PT" - Portuguese of Portugal
   "en"    - English
  Default: "en"


$opcao['titulo']
  Define the indexer's <title>
   The $directoria variable means the working directory
   Example: 
    in http://www.adamastor.org/indexer/demo/ $directoria is "/indexer/demo/"
  Default: "Listing Directory: $directoria"


$opcao['form-ordenar']
  Define the text before the order by form
  Default: "Order By:"


$opcao['form-icons']
  Define the text before the theme form
  Default: "Theme:"


$opcao['form-submeter']
  Define the text in the submit button of the form
  Default: "ok"


$opcao['texto-mostrar']
  Show an info line about the working directory
  Options:
   "0" - Don't Show
   "1" - Show
  Default: "1"


$opcao['texto']
  Define the text of the info line 
   The $directoria variable means the working directory
   Example: 
    in http://www.adamastor.org/indexer/demo/ $directoria is "/indexer/demo/"
  Default: "<i>Directory:</i> $directoria";


$opcao['max-size']
  Define the max size that a file or directory can have, before been truncated,
  Example:
   If $opcao['max-size'] is set to 12 and the file name is "stevemaissteve.zip"
   the output is "stevemais..."
  Default: 23


$aliases
  Define the directory aliases
  Syntax:
   $aliases=array('Web Alias', 'True Directory');
  Example:
   $aliases=array(
	'/mp3/', '/home/steve/mp3/',
	'/flashpen/', '/mnt/flashpen/'
   );
  Default: none
  
  
