PHP Classes

File: indexer/config.php

Recommend this page to a friend!
  Classes of Saravana kumar.A   Indexer   indexer/config.php   Download  
File: indexer/config.php
Role: Configuration script
Content type: text/plain
Description: Main configuration file
Class: Indexer
Browse, view and download files
Author: By
Last change:
Date: 12 years ago
Size: 1,243 bytes
 

Contents

Class file image Download
<?php
/*
 * config.php - Main Configuration file for Indexer
 * Copyright 2011 Saravana Kumar.A <saravanakumar.a.o@gmail.com>
 *
 ************************************************************
 * IMPORTANT:
 * If you don't want others to access files except from
 * Indexer, please copy the 'sample.htaccess' file in 'others'
 * folder to the folder and rename it to '.htaccess'.
 * Note: (Do not do this on indexer installation folder)
 ************************************************************/



/********************
 * Main Section
 ********************/

// Root folder // '.' - Means current folder
$Root_dir="./downloads";

// Page Title
$Title="Indexer";

// Default Message
$Message="PHP Webfolder indexer";

// Do not show these files
$Exceptions=array(".", "..", ".htaccess");

/**********************
 * Downloads Section
 **********************/

// Allowed Domains
// $AllowedDomains=array('example.com', 'test.whatever.com');
// Set false to allow all domains
$AllowedDomains=false;

// Allowed Filetypes
$AllowedFileTypes=array ( 'zip', '7z', 'gz', 'js', 'jpeg', 'mp3', 'mp4',
                       
'3gp', 'pdf', 'doc', 'xls', 'jpg', 'exe', 'txt');

// Log Downloads?
$LogDownloads=true;

?>