Update of /cvsroot/lambda/lambda/conf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26802/conf
Modified Files:
config-sample.php defaults.php
Log Message:
Added simple MySQL and error handling support.
Index: defaults.php
===================================================================
RCS file: /cvsroot/lambda/lambda/conf/defaults.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** defaults.php 22 Jul 2005 11:36:16 -0000 1.1.1.1
--- defaults.php 26 Jul 2005 13:32:59 -0000 1.2
***************
*** 33,44 ****
* Start the page template output
*/
! require_once($config['smarty']['path']);
$page = new Smarty();
! $page->template_dir = $config['smarty']['theme_dir']."/".$config['lambda']['theme'];
! $page->compile_dir = $config['smarty']['compile_dir'];
! $page->assign('site_title', $config['lambda']['sitename']);
$page->assign('theme_url',
! $config['lambda']['siteurl']."/".$config['smarty']['theme_dir']."/".$config['lambda']['theme']);
?>
\ No newline at end of file
--- 33,59 ----
* Start the page template output
*/
! require_once($cfg['SmartyPath']);
$page = new Smarty();
! $page->template_dir = $cfg['SmartyThemeDir']."/".$cfg['LambdaDefaultTheme'];
! $page->compile_dir = $cfg['SmartyCompileDir'];
! $page->assign('site_title', $cfg['LambdaSiteName']);
$page->assign('theme_url',
! $cfg['LambdaSiteURL']."/".$cfg['SmartyThemeDir']."/".$cfg['LambdaDefaulTheme']);
!
! /**
! * Load language file
! **/
! require_once("lang/" . $cfg['LambdaDefaultLanguage'] . ".php");
!
! /**
! * Load General functionality
! **/
! require_once("include/functions.php");
!
! /**
! * Load MySQL Database support
! **/
! require_once("include/mysql.php");
?>
\ No newline at end of file
Index: config-sample.php
===================================================================
RCS file: /cvsroot/lambda/lambda/conf/config-sample.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** config-sample.php 24 Jul 2005 13:42:37 -0000 1.2
--- config-sample.php 26 Jul 2005 13:32:52 -0000 1.3
***************
*** 18,21 ****
--- 18,22 ----
$cfg['LambdaSiteURL'] = 'http://localhost'; // URL for your site
$cfg['LambdaDefaultTheme'] = 'lambda'; // Default theme
+ $cfg['LambdaDefaultLanguage'] = 'english'; // Default language
/**********
|