Files
thetool/config/internals.php
Frank Schubert 4ea4927931 Initial commit
2021-03-29 23:04:42 +02:00

17 lines
629 B
PHP

<?php
// set internal variables and constants
if(!defined("BASEDIR")) define('BASEDIR',realpath(dirname(__FILE__)."/.."));
if(!defined("LIBDIR")) define('LIBDIR',realpath(BASEDIR."/lib")."/");
if(!defined("VIEWDIR")) define('VIEWDIR',realpath(BASEDIR."/Layout")."/");
if(!defined("APPDIR")) define('APPDIR',realpath(BASEDIR."/application")."/");
// Default: Use supplied PEAR installation
// Change this to use your own PEAR installation
define("PEARDIR",LIBDIR."/pear/share/pear");
// add Pear path to PHPs include_path
$ini_include=ini_get("include_path");
$ini_include.=":".PEARDIR;
ini_set("include_path",$ini_include);