Skip to content

Instantly share code, notes, and snippets.

@KrisBuytaert
Created February 8, 2012 20:39
Show Gist options
  • Save KrisBuytaert/1773369 to your computer and use it in GitHub Desktop.
Save KrisBuytaert/1773369 to your computer and use it in GitHub Desktop.
processor output
[root@mss htdocs]# php ./processor.php
<?
// Include main class loading config file
define('TATTLE_ROOT', str_replace(array('ajax'),'',getcwd()));
$web_root = dirname($_SERVER['PHP_SELF']);
if ($web_root != '/') {
$web_root .= '/';
}
define('TATTLE_WEB_ROOT',$web_root);
define('VIEW_PATH', TATTLE_ROOT . '/inc/views/');
define('JS_CACHE', TATTLE_ROOT . '/js_cache/');
include TATTLE_ROOT . '/inc/includes.php';
include TATTLE_ROOT . '/inc/functions.php';
include TATTLE_ROOT . '/inc/config.php';
include TATTLE_ROOT . '/inc/constructor_functions.php';
//Set the Template root, and set the header and footer
$tmpl = new fTemplating(VIEW_PATH);
//if (!is_dir(JS_CACHE) || !is_writable(JS_CACHE)){
// $warning_message .= "JS Caching disabled due to js folder permissions";
//} else {
// $tmpl->enableMinification('development', JS_CACHE, TATTLE_ROOT);
//}
$tmpl->add('css','bootstrap/bootstrap.min.css');
$tmpl->add('css','assets/css/jquery-ui.css');
$tmpl->add('js','assets/js/jquery.min.js');
$tmpl->add('js','assets/js/jquery-ui.min.js');
$tmpl->add('js','assets/js/jquery.collapsible.js');
$tmpl->add('js','assets/js/jquery.graphite.js');
$tmpl->add('js','bootstrap/js/bootstrap-modal.js');
$tmpl->add('js','bootstrap/js/bootstrap-twipsy.js');
$tmpl->add('js','bootstrap/js/bootstrap-popover.js');
$tmpl->set('header', 'header.php');
$tmpl->set('footer', 'footer.php');
//Start the Flourish Session
fSession::open();
PHP Fatal error: Class 'Check' not found in /var/vhosts/tat/htdocs/processor.php on line 26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment