XpFramework laden
Hier der Code wie man das XP Framework in seine PHP Applikation einbindet.
( Es wird PHP 5.2 benötigt )
( Es wird PHP 5.2 benötigt )
// xp framework
// paths
define('ABSOLUTE_PATH',dirname(_FILE_)."/");
define('LIB_DIR','lib/');
$include = ini_get('include_path');
if(!ini_set('include_path',$include.':'.ABSOLUTE_PATH.LIBS_DIR.'xp')) {
die('Failed to set the include path. Check you php configuration.');
}
require('lang.base.php'); // load the xp framework


Banana.
Doing his work at nortys and enjoying the life with his family



