Update of /var/cvs/Geeklog-2.x/Geeklog-2.x/plugins/link
In directory iowaoutdoors:/tmp/cvs-serv1630/plugins/link
Modified Files:
config.php
Log Message:
Fixed to use getOption
Index: config.php
============================================================
=======
RCS file:
/var/cvs/Geeklog-2.x/Geeklog-2.x/plugins/link/config.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config.php 18 Jun 2006 00:43:59 -0000 1.7
--- config.php 20 Nov 2006 17:16:20 -0000 1.8
***************
*** 25,33 ****
$linkConf['level'] = 'Unstable';
$linkConf['release_date'] = date('2006-05-26');
$linkConf['dao_options'] =
array('dao_name'=>'PropelDAO',
! 'namedQueryFile' =>
Geeklog_Config::getValue('path_plugins') .
'link/sql/NamedQueries.xml',
! 'databaseName' =>
Geeklog_Config::getValue('db_name'),
'pathDomainObjects' => 'plugins/link/models/'
);
--- 25,43 ----
$linkConf['level'] = 'Unstable';
$linkConf['release_date'] = date('2006-05-26');
+ $linkConf['path'] = getOption('path_plugins') . 'link/';
+ $linkConf['path_views'] = $linkConf['path'] . 'views/';
+ $linkConf['path_commands'] = $linkConf['path'] .
'commands/';
+ // MVCnPHP configuration
+ $linkConf['mvc_options'] = array('doCompileChecks'=>1,
+
'baseUrl'=>Geeklog_Config::getValue('site_url'),
+ 'viewDir'=>$linkConf['path_views'],
+ 'commandDir'=>$linkConf['path_commands'],
+ 'configFileDirectory'=>$linkConf['path'],
+
'apcOptions'=>array('apc_index'=>GL2_LINK_MVC_CONFIG))
;
$linkConf['dao_options'] =
array('dao_name'=>'PropelDAO',
! 'namedQueryFile' => $linkConf['path'] .
'sql/NamedQueries.xml',
! 'databaseName' => getOption('db_name'),
'pathDomainObjects' => 'plugins/link/models/'
);
***************
*** 38,48 ****
// that class expects. See http://pear.php.net/manual/en/package.logging.log.php
for specifics on
// how to use PEAR::Log
! $linkConf['log'] = array('handler'=>'file',
!
'name'=>Geeklog_Config::getValue('path_logs') .
'/link/link.log',
! 'ident'=>'Geeklog 2 Link
Manager',
! 'conf'=>array('mode'=>0660,
! 'timeFormat'=>'%b
%d %H:%M:%S'));
! // Hack for some wierd scoping issue
return $linkConf;
--- 48,54 ----
// that class expects. See http://pear.php.net/manual/en/package.logging.log.php
for specifics on
// how to use PEAR::Log
! $linkConf['logFile'] = getOption('path_logs') .
'link.log';
! // Must do this so that the main getOption() method works
on the link config options
return $linkConf;
_______________________________________________
geeklog2-cvs mailing list
geeklog2-cvs lists.geeklog.net
http://lists.geeklog.net/mailman/listinfo/geeklog2-cvs
|