List Info

Thread: config.php




config.php
user name
2006-11-16 17:31:04
Update of /var/cvs/Geeklog-2.x/Geeklog-2.x
In directory iowaoutdoors:/tmp/cvs-serv25658

Modified Files:
	config.php 
Log Message:
Added options for configure-less MVCnPHP

Index: config.php
============================================================
=======
RCS file: /var/cvs/Geeklog-2.x/Geeklog-2.x/config.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** config.php	16 Nov 2006 16:23:28 -0000	1.10
--- config.php	16 Nov 2006 17:31:02 -0000	1.11
***************
*** 38,41 ****
--- 38,42 ----
  
  define('GL2_CONFIG','GL2_CONFIG');
+ define('GL2_MVC_CONFIG', 'GL2_MVC_CONFIG');
  
  // Attempt to get the configuration from memory.
***************
*** 51,55 ****
      
      // The base URL for this Geeklog site. Do *not*
include the trailing '/'
!     $glConf['site_url'] = 'http://example.com';
      
      // This is the return address for all email sent by
Geeklog:
--- 52,56 ----
      
      // The base URL for this Geeklog site. Do *not*
include the trailing '/'
!     $glConf['site_url'] = 'http://www.example.com';
      
      // This is the return address for all email sent by
Geeklog:
***************
*** 97,100 ****
--- 98,109 ----
      $glConf['default_locale'] = 'en';
      
+     // MVCnPHP configuration
+     $glConf['mvc_options'] =
array('doCompileChecks'=>1,
+     							   'baseUrl'=>$glConf['site_url'],
+     							   'viewDir'=>$glConf['path_views'],
+     							   'commandDir'=>$glConf['path_commands'],
+     							   'configFileDirectory'=>$glConf['path'],
+     							  
'apcOptions'=>array('apc_index'=>GL2_MVC_CONFIG));
+     							   
      // Session Settings. These are used to configure
PEAR::HTTP_Session2.  The default is to use the 
      // Geeklog 2 database to store cookies.  This will
allow Geeklog 2 to run on multiple web servers. 

_______________________________________________
geeklog2-cvs mailing list
geeklog2-cvslists.geeklog.net
http://lists.geeklog.net/mailman/listinfo/geeklog2-cvs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )