PHP Classes

File: pDB.conf.php

Recommend this page to a friend!
  Classes of Benny Zaminga   pDB   pDB.conf.php   Download  
File: pDB.conf.php
Role: Auxiliary data
Content type: text/plain
Description: pDB's ConfigFile
Class: pDB
File based database SQL engine in pure PHP
Author: By
Last change: Corrected mail-address
Date: 19 years ago
Size: 3,125 bytes
 

Contents

Class file image Download
<?PHP ; /* ; pDB is a free database written in php. ; This is the main configuration-file of pDB. ; this software is distributed under the LGPL. ; @version 0.02 <BennyZaminga> ; Change this to whatever you want ; Can be useful to distinguish different configs or installations APP_NAME=pDB ; AUTHOR ;AUTHOR=Benny Zaminga <bzaminga@web.de>, Florian Sax <sax@startseite.ch> ; OPERATINGSYSTEM TYPE ; Please define the type of Operating-System ; you plan to run pDB on (eg: Linux or WIN32) ; HINT: You can disable this line to let php detect the OS OSTYPE=Linux ; Please set the path of your BASE_DIR (base directory, something like:/var/www/html/POPE/) ; If pDB is not working at all, common pitfall is that this one is wrong !! ; Do not forget the slash as last char '/'. BASE_DIR=./ ; Please set the path to a writable folder in your filesystem. ; This is the folder where all your databases are gonna reside. ; This path must always be ABSOLUTE in order to guarantee that ; DB_ROOT can be everywhere in your local filesystem. ; It is good practice to NOT place your DB_ROOT under your WEB_ROOT. But under certain ; circumstances it's unavoidable, so the default settings will always point into WEB_ROOT. ; Feel free to change this to secure your data from beeing accessed directly. ; Example: /var/www/html/DB_ROOT/ ; Do not forget the slash as last char '/'. DB_ROOT=./DB_ROOT/ ; Please define path to folder (MUST be under BASE_DIR) where pDB's configuration ; files ( 'pDB.conf.php', 'pDB.users.php') reside. ; Example: conf/ -> Now pDB will look for config in folder {BASE_DIR}/conf/ CONF_DIR=./ ; Define the number of wrong logins allowed before ban applies. ; THIS DIRECTIVE IS NOT SUPPORTED IN CURRENT VERSION OF PDB !!! MAX_LOGINS=3; ; LOG FILE ; Path to log file. ; Please make sure you have write-permissions for this file. ; BASE_DIR is automatically prefixed ! LOG_FILE=pDB.log ; DEBUG ; Enable DEBUG-mode by setting this to 1 ; WARNING : This directive produces some ; verbose ouput to 'php://stdout'. In certain situations ; this could turn out very annoying. ; In case of error this directive, ; if enabled, can output sensible informations ; concerning your pDBlib-installation. ; Enable this ONLY while debugging your scripts. DEBUG=0 ; VERBOSE ; Enable VERBOSE-mode by setting this to 1 ; WARNING : This directive produces some ; verbose ouput to 'php://stdout'. In certain situations ; this could turn out very annoying. ; In case of an error, this directive can output sensible informations ; concerning your pDBlib-installation, when enabled. ; Enable this ONLY while debugging your scripts. VERBOSE=0 ; DAEMON-SETTINGS (only for pDB-deamon) ;PDB_BIND_IP=192.168.1.4 ;PDB_BIND_PORT=4153 ;PDB_OCOLORIZE=1 ; Enable or disable pDBs internal Accelerator-method. ; This option is only available using pDB-0.37a or above. ACCELERATED=0 ; DO NOT CHANGE THIS DIRECTIVE ; This directive is always last ; and should always be 1 CONF_LOADED=1 ; */ ?>