PHP expert |
|
Nee, dat doe ik niet. Ik zal even mijn index.php posten:
<?php
// classes includen
include './inc/class/database.class.php';
include './inc/class/users.class.php';
include './inc/class/captcha.class.php';
include './inc/class/templatepower.class.php';
// config file includen
include './inc/config.php';
// functions includen
include './inc/functions.php';
$tpl = new templatePower('./templates/index.tpl');
$tpl->assignGlobal('url', $config['url']);
//echo '<pre>', print_r($_GET) ,'</pre>';
$db = new Database('localhost', 'root', '', 'cms');
$users = new users;
$captcha = new captcha;
?>
<?php // classes includen include './inc/class/database.class.php'; include './inc/class/users.class.php'; include './inc/class/captcha.class.php'; include './inc/class/templatepower.class.php'; // config file includen include './inc/config.php'; // functions includen include './inc/functions.php'; $tpl = new templatePower('./templates/index.tpl'); $tpl->assignGlobal('url', $config['url']); //echo '<pre>', print_r($_GET) ,'</pre>'; $db = new Database('localhost', 'root', '', 'cms'); $users = new users; $captcha = new captcha; ?>
|