Yii Framework Forum: path names - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

path names Rate Topic: -----

#1 User is offline   rabol 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 50
  • Joined: 08-October 08

Posted 08 October 2008 - 04:24 PM

Allow pathnames like application.log e.g when you configure CFileLogRoute

Like this:
array("class" => "system.core.log.CFileLogRoute", "levels" => "trace, info", "categories"=>"info,system.*","logPath" => "application.log"),
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,900
  • Joined: 04-October 08
  • Location:DC, USA

Posted 08 October 2008 - 04:30 PM

This was originally supported, but for consistency I removed it. The main reason is because you can easily do this with:

"logPath"=>Yii::getPathOfAlias('application.log'),

0

#3 User is offline   rabol 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 50
  • Joined: 08-October 08

Posted 08 October 2008 - 05:23 PM

good/fair enough  :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users