[Solar-svn] Revision 3258
pmjones at solarphp.com
pmjones at solarphp.com
Sat Jul 26 15:27:47 CDT 2008
system config: add 'system' and 'include' values
Modified: system/config/Solar.config.php
===================================================================
--- system/config/Solar.config.php 2008-07-26 20:26:32 UTC (rev 3257)
+++ system/config/Solar.config.php 2008-07-26 20:27:47 UTC (rev 3258)
@@ -1,15 +1,22 @@
<?php
-// all config values go in this array, which will be returned at the end of
-// this script
+/**
+ * all config values go in this array, which will be returned at the end of
+ * this script
+ */
$config = array();
-// system directory
+
+/**
+ * system and autoload-include directories
+ */
$system = dirname(dirname(__FILE__));
+$config['Solar']['system'] = $system;
+$config['Solar']['include'] = "$system/include";
+
/**
* ini_set values
*/
-
$config['Solar']['ini_set'] = array(
'error_reporting' => (E_ALL | E_STRICT),
'display_errors' => true,
@@ -17,10 +24,10 @@
'session.save_path' => "$system/tmp/session/",
);
+
/**
* sql connection
*/
-
// use sqlite by default
$config['Solar_Sql']['adapter'] = 'Solar_Sql_Adapter_Sqlite';
@@ -30,10 +37,10 @@
'mode' => 0775,
);
+
/**
* authentication
*/
-
// use .ini file only for getting started ... passwords are stored in plain
// text, not very secure.
$config['Solar_Auth']['adapter'] = 'Solar_Auth_Adapter_Ini';
@@ -44,6 +51,6 @@
);
/**
- * Done!
+ * done!
*/
return $config;
More information about the Solar-svn
mailing list