4 ini_set('display_errors',1);
6 ini_set('include_path',
7 dirname(__FILE__). ':' .
8 dirname(__FILE__).'/pear:' .
9 dirname(__FILE__).'/pearfix:' .
10 ini_get('include_path'));
12 define('DB_DATAOBJECT_NO_OVERLOAD', true);
14 require_once 'HTML/FlexyFramework.php';
17 new HTML_FlexyFramework( array(
19 // 'appName' => 'SupportHK',
20 // 'appNameShort' => 'supporthk',
21 'database' => 'mysql://root:@localhost/reddit', // local only
26 'storedir' => '/home/hydra'
28 'locale' => 'en',//this is for the session
29 'DB_DataObject' => array(
30 'class_location' => implode(PATH_SEPARATOR, array(
31 dirname(__FILE__). '/Pman/Reddit/DataObjects',
32 //dirname(__FILE__). '/Pman/Core/DataObjects',
33 //dirname(__FILE__). '/Pman/Cms/DataObjects',
34 //dirname(__FILE__). '/Pman/Crm/DataObjects',
36 'class_prefix' => 'Pman_Reddit_DataObjects_'
39 'siteBaseURL' => 'http://'.$_SERVER['HTTP_HOST'].'/'.basename(__FILE__),
41 //?? used where - CMS?
42 /*'SiteName' => array(
43 'fullName' => 'Campaign',
44 'shortName' => 'campaign',
48 'view_name' => 'Desktop',
52 'server_baseurl' => 'http://'.$_SERVER['HTTP_HOST'].'/'.basename(__FILE__),
56 // 'host' => '192.168.254.2',
61 'HTML_Template_Flexy' => array(
62 'locale' => 'en', //set a language for template engine
64 // 'DB_DataObject_translator' => 'cms_templatestr',
65 // 'forceCompile' => true,
66 'site_prefix' => 'desktop', // the site prefix for template engine e.g. desktop/master.html
67 // 'templateDir' => dirname(__FILE__) . '/Petition/mobile_templates',
68 // 'url_rewrite' => 'images/:/web.Petition/Petition/mobile_templates/images/',
70 'Pman_Images' => array(
72 '300','50', '750', '1140', '560', '768', '600', '340', '250'