<?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;
?>
|