pickles/Pickles.php
Josh Sherman 8c14ec379d Bunch of updates to migrate from jLib to Pickles.
git-svn-id: http://svn.cleancode.org/svn/pickles@31 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-08-12 01:09:07 +00:00

50 lines
908 B
PHP
Executable file

<?php
date_default_timezone_set('America/New_York');
define('PATH', getcwd() . '/');
function __autoload($class) {
$file = PATH . '../../common/classes/' . str_replace('_', '/', $class) . '.php';
if (file_exists($file)) {
require_once $file;
}
}
class Pickles extends Object {
/*
protected $config = null;
private $controller = null;
public function __construct($site, $controller = 'Web') {
parent::__construct();
new Controller($controller);
}
*/
}
/*
if (Config::getSession() && !isset($_SESSION)) {
session_start();
}
// Use the FCKeditor instead of textareas
// @todo add a wrapper for these two
if (Config::getFCKEditor()) {
require_once JLIB_PATH . 'common/static/fckeditor/fckeditor.php';
}
// Load up MagpieRSS is so desired
if (Config::getMagpieRSS()) {
require_once JLIB_PATH . '/var/www/josh/common/contrib/magpierss/rss_fetch.inc';
}
//Request::load();
*/
?>