Ejemplo n.º 1
0
<?php

// OB_START
ob_start();
/*
**  S I T E   V A R I A B L E S
*/
// This is were you put the name of your website
$SITE_NAME = 'Acero-Framework';
// These variables point to the base URL and relative address
// of your website
$addr = address();
$rel_addr = relative_address();
// You can add more things here
/*
**   S E S S I O N S
* 		you can add lotsa separate session stuff here
*/
include $rel_addr . '/sessions/session.php';
/*
** I N C L U D E   F I L E S
* 		this is where it all comes together
*		feel free to add your own things
*/
// Database Connection
include $rel_addr . '/lib/mysql_connect.php';
// Header File
include $rel_addr . '/lib/header.php';
// Scripts File
include $rel_addr . '/lib/scripts.php';
// Navigation File
Ejemplo n.º 2
0
<?php

$addr = address();
$rel_addr = relative_address() . '/' . Config::get('frameworkDirectory');
// OB_START
ob_start();
/*
**  S I T E   V A R I A B L E S
*/
$SITE_NAME = Config::get('siteName');
//'Repository Aggregator';
/*
**   S E S S I O N S
* 		you can add lotsa separate session stuff here
*/
//include $rel_addr.'/sessions/session.php';
/*
** I N C L U D E   F I L E S
*/
// Database Connection
//include $rel_addr.'/framework/lib/mysql_connect.php';
/* User authentication file */
require_once $rel_addr . '/lib/authentication.php';
// Header File
include $rel_addr . '/lib/header.php';
// Scripts File
include $rel_addr . '/lib/scripts.php';
// Navigation File
include $rel_addr . '/lib/navigation.php';
// Footer File
include $rel_addr . '/lib/footer.php';