PHP Classes
Icontem

File: config.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Olafur Waage  >  synDirectory  >  config.php  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Config file
Class: synDirectory
Retrieve and sort the current directory files
 

Contents

Class file image Download
<?php
/**
 * synDirectory Config
 */

/**
 * Index Config
 * 
 * class_root
 * 
 * Put the location of the class file (syn_class.php)
 * i.e. if its in this directory, make it empty
 * if its in the directory below, put "../"
 * if its in a directory above called "classes", put "classes/"
 * if its in a directory below this one called "classes", put "../classes/"
 * if its in /var/www/classes/ then put that
 */
$config["class_root"] = "";
/**
 * lang
 * 
 * Select the language you want to use, installed languages are
 * English "en" and Icelandic "is".
 */
$config["lang"] = "en";

/**
 * show_dir
 * 
 * Chooses if you want the class to show the directories that
 * are under the one you are browsing
 */
$config["show_dir"] = true;

/**
 * show_parent_dir
 * 
 * Chooses if you want the "Parent Directory" link to be displayed
 */
$config["show_parent_dir"] = true;

/**
 * show_files
 * 
 * Chooses if you want the files within the directory to be displayed.
 */
$config["show_files"] = true;

/**
 * show_file_extensions
 * 
 * Chooses if you want to show the file extensions
 */
$config["show_file_extensions"] = true;

/**
 * show_only
 * 
 * An array of file extensions that you want only to display
 * Uncomment the lines below to only show mp3 and txt files
 */

# $config["show_only"][] = "mp3";
# $config["show_only"][] = "txt";

/**
 * show_header
 * 
 * Chooses if you want to display the header
 * i.e. "Index of /downloads/files/"
 */
$config["show_header"] = true;

/**
 * show_icons
 * 
 * Chooses if you want to display the default icons or not
 * Will do this very roughly at the moment.
 */    
$config["show_icons"] = true;

/**
 * show_server_info
 * 
 * Chooses if you want to display the server info
 * i.e. "Apache/1.3.33 Server at server.com Port 80"
 */
$config["show_server_info"] = true;

?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products