[Solar-svn] Revision 2896

pmjones at solarphp.com pmjones at solarphp.com
Thu Oct 18 18:32:42 CDT 2007


use a more-sane sample config file


Modified: trunk/docs/Solar.config.php
===================================================================
--- trunk/docs/Solar.config.php	2007-10-18 19:49:49 UTC (rev 2895)
+++ trunk/docs/Solar.config.php	2007-10-18 23:32:42 UTC (rev 2896)
@@ -21,9 +21,9 @@
 $config = array();
 
 /**
- * Document root.
+ * Location for sensitive files.
  */
-$docroot = $_SERVER['DOCUMENT_ROOT'];
+$safe = '/path/to/safe/dir';
 
 /**
  * General ini settings.
@@ -39,9 +39,7 @@
  */
 $config['Solar_Sql'] = array(
     'adapter' => 'Solar_Sql_Adapter_Sqlite',
-    'config'  => array(
-        'name'   => "$docroot/solar.sqlite",
-    )
+    'name'    => "$safe/solar.sqlite",
 );
 
 /**
@@ -49,9 +47,7 @@
  */
 $config['Solar_Auth'] = array(
     'adapter' => 'Solar_Auth_Adapter_Htpasswd',
-    'config' => array(
-        'file' => "$docroot/htpasswd.conf",
-    ),
+    'file' => "$safe/htpasswd.conf",
 );
 
 /**




More information about the Solar-svn mailing list