First attempt at admin settings page with writeable database backend.

Currently broken due to PHP's transparent conversion of "." to "_" in
POST variable names!
This commit is contained in:
2011-08-24 02:40:16 +01:00
parent 807514daa8
commit 3497eb8e1e
10 changed files with 462 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ class RippingCluster_Main extends SihnonFramework_Main {
$this->smarty->compile_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/templates');
$this->smarty->cache_dir = static::makeAbsolutePath($smarty_tmp . '/tmp/cache');
$this->smarty->config_dir = static::makeAbsolutePath($smarty_tmp . '/config');
$this->smarty->plugins_dir = static::makeAbsolutePath('./source/smarty/plugins');
$this->smarty->registerPlugin('modifier', 'formatDuration', array('RippingCluster_Main', 'formatDuration'));
$this->smarty->registerPlugin('modifier', 'formatFilesize', array('RippingCluster_Main', 'formatFilesize'));