include BBLOGROOT . 'inc/bBlog.class.php'; include BBLOGROOT . 'inc/functions.php'; include BBLOGROOT . 'inc/templates.php'; // start your engines $bBlog = new bBlog(); $mtime = explode(" ", microtime()); $bBlog->begintime = $mtime[1] + $mtime[0]; // this is only here until I work out the best way to do theming. //$bBlog->clear_compiled_tpl(); $bBlog->template_dir = BBLOGROOT . 'templates/' . C_TEMPLATE; $bBlog->compile_dir = BBLOGROOT . 'compiled_templates/'; if (defined('IN_BBLOG_ADMIN')) { $bBlog->compile_id = 'admin'; } else { $bBlog->compile_id = C_TEMPLATE; } $bBlog->plugins_dir = array(BBLOGROOT . 'bBlog_plugins', BBLOGROOT . 'smarty_plugins'); $bBlog->use_sub_dirs = FALSE; // change to true if you have a lot of templates define('BBLOG_VERSION', "0.7.6"); $bBlog->assign("bBlog_version", BBLOG_VERSION); // if you want debugging, this is the place // you'd turn on debugging by adding ?gdb=true to the end of a url // it's disabled by default for security reasons // if($_GET['gdb']) $bBlog->debugging=TRUE; // if you want to use php in your templates // $bBlog->php_handling=SMARTY_PHP_ALLOW; // change this to false for a peformance increase, // but you won't be able to use smarty tags in posts. // disabled by default as you may have use { or } in posts which will confuse everything define('USE_SMARTY_TAGS_IN_POST', FALSE);