openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit d270cd6e7f304ac2e78f3dfc99b6ab8191406ee3
parent 87856613be3adef1665be39704b21ba7017137e1
Author: dankert <devnull@localhost>
Date:   Mon, 22 Oct 2007 23:34:44 +0200

Beispiel f?r Wrapper-Skript in einer VHOST-Umgebung.

Diffstat:
doc/examples/vhost-wrapper/index.php | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/doc/examples/vhost-wrapper/index.php b/doc/examples/vhost-wrapper/index.php @@ -0,0 +1,20 @@ +<?php + + +// URL of the base installation +define('OR_BASE_URL' ,'/openrat' ); + +// base installation directory +define('OR_INSTALLATION_PATH','/home/dankert/privat/public_html/cms-test/cms/'); + +// your config dir +define('OR_CONFIG','config'); + + +// do not change below here. +define('OR_EXT_CONTROLLER_FILE',basename(getenv('SCRIPT_FILENAME'))); +define('OR_EXT_CONFIG_DIR',dirname(getenv('SCRIPT_FILENAME')).'/'.OR_CONFIG.'/'); +chdir(OR_INSTALLATION_PATH); +require('do.php'); + +?>+ \ No newline at end of file