1 |
<? |
<? |
2 |
// --------------------------------------------------------------------------- |
/** |
3 |
// $Id$ |
* --- boot org.netfrag.glib |
4 |
// --------------------------------------------------------------------------- |
* |
5 |
// $Log$ |
* @author Andreas Motl <andreas.motl@ilo.de> |
6 |
// Revision 1.8 2003/03/03 22:13:45 joko |
* @package org.netfrag.glib |
7 |
// minor update regarding includes |
* |
8 |
// |
*/ |
|
// Revision 1.7 2003/03/03 21:08:47 joko |
|
|
// updated |
|
|
// |
|
|
// Revision 1.6 2003/02/27 16:35:03 joko |
|
|
// + include path mungling now done via 'function add_include_path' |
|
|
// |
|
|
// Revision 1.5 2003/02/22 16:17:56 joko |
|
|
// + include path for new sister library org.netfrag.app |
|
|
// + autoloading abstract class for backend-communication |
|
|
// |
|
|
// Revision 1.4 2003/02/09 16:52:08 joko |
|
|
// + updated, new modules in this library |
|
|
// |
|
|
// Revision 1.3 2003/02/04 08:26:18 joko |
|
|
// + fixed comment |
|
|
// |
|
|
// Revision 1.2 2003/02/04 08:25:43 joko |
|
|
// + minor modification regarding configuration/resource variable hierarchy |
|
|
// |
|
|
// Revision 1.1 2003/02/03 14:39:58 joko |
|
|
// + initial commit |
|
|
// |
|
|
// --------------------------------------------------------------------------- |
|
9 |
|
|
10 |
|
/** |
11 |
|
* <b>Cvs-Log:</b> |
12 |
|
* |
13 |
|
* <pre> |
14 |
|
* |
15 |
|
* $Id$ |
16 |
|
* |
17 |
|
* $Log$ |
18 |
|
* Revision 1.16 2004/07/21 12:56:45 joko |
19 |
|
* minor change to hash-key use |
20 |
|
* |
21 |
|
* Revision 1.15 2003/04/05 19:55:24 joko |
22 |
|
* moved some code to utils/includes.php |
23 |
|
* |
24 |
|
* Revision 1.14 2003/04/04 17:36:16 joko |
25 |
|
* added new required file |
26 |
|
* |
27 |
|
* Revision 1.13 2003/03/28 06:43:20 joko |
28 |
|
* initial commit: php_constants.php |
29 |
|
* |
30 |
|
* Revision 1.12 2003/03/11 02:23:02 joko |
31 |
|
* + fixed metadata for phpDocumentor |
32 |
|
* |
33 |
|
* Revision 1.11 2003/03/11 02:14:17 joko |
34 |
|
* + fixed metadata for phpDocumentor |
35 |
|
* |
36 |
|
* Revision 1.10 2003/03/10 23:24:59 joko |
37 |
|
* + fixed metadata for phpDocumentor |
38 |
|
* |
39 |
|
* Revision 1.9 2003/03/10 23:05:24 joko |
40 |
|
* + fixed metadata for phpDocumentor |
41 |
|
* |
42 |
|
* Revision 1.8 2003/03/03 22:13:45 joko |
43 |
|
* minor update regarding includes |
44 |
|
* |
45 |
|
* Revision 1.7 2003/03/03 21:08:47 joko |
46 |
|
* updated |
47 |
|
* |
48 |
|
* Revision 1.6 2003/02/27 16:35:03 joko |
49 |
|
* + include path mungling now done via 'function add_include_path' |
50 |
|
* |
51 |
|
* Revision 1.5 2003/02/22 16:17:56 joko |
52 |
|
* + include path for new sister library org.netfrag.app |
53 |
|
* + autoloading abstract class for backend-communication |
54 |
|
* |
55 |
|
* Revision 1.4 2003/02/09 16:52:08 joko |
56 |
|
* + updated, new modules in this library |
57 |
|
* |
58 |
|
* Revision 1.3 2003/02/04 08:26:18 joko |
59 |
|
* + fixed comment |
60 |
|
* |
61 |
|
* Revision 1.2 2003/02/04 08:25:43 joko |
62 |
|
* + minor modification regarding configuration/resource variable hierarchy |
63 |
|
* |
64 |
|
* Revision 1.1 2003/02/03 14:39:58 joko |
65 |
|
* + initial commit |
66 |
|
* |
67 |
|
* </pre> |
68 |
|
* |
69 |
|
*/ |
70 |
|
|
|
// some extension functions for php |
|
|
global $PHP_EXTENSIONS_EXPORT; |
|
|
//$PHP_EXTENSIONS_EXPORT = array( 'loadModule', array('mkObject' => 'mkInstance') ); |
|
|
$PHP_EXTENSIONS_EXPORT = array( 'loadModule', array('mkComponent' => 'mkObject') ); |
|
|
//$PHP_EXTENSIONS_EXPORT = array( 'loadModule' ); |
|
71 |
|
|
72 |
require_once("php_extensions.php"); |
// utility- and helper functions- and classes |
73 |
//$php->Dumper_mode = HTML; |
require_once("utils/includes.php"); |
|
//exit; |
|
74 |
|
|
75 |
// tune libpath |
// tune libpath |
76 |
$smarty = $config['_startup'][path][lib][smarty]; |
// FIXME: enhance! use constants here!!! |
77 |
$pear = $config['_startup'][path][lib][pear]; |
$smarty = $config['_startup']['path']['lib']['smarty']; |
78 |
$flib = $config['_startup'][path][lib][flib]; |
$pear = $config['_startup']['path']['lib']['pear']; |
79 |
$glib = $config['_startup'][path][lib][glib]; |
$flib = $config['_startup']['path']['lib']['flib']; |
80 |
$lib_app = $config['_startup'][path][lib][app]; |
$glib = $config['_startup']['path']['lib']['glib']; |
81 |
|
$lib_app = $config['_startup']['path']['lib']['app']; |
82 |
php::add_libpath(array($pear, $glib, $lib_app)); |
php::add_libpath(array($pear, $glib, $lib_app)); |
83 |
|
|
84 |
|
|