Development

#1468 (custom config handler on windows for configs inside subdirs)

You must first sign up to be able to contribute.

Ticket #1468 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

custom config handler on windows for configs inside subdirs

Reported by: lsmith Assigned to:
Priority: minor Milestone: 1.0.0
Component: Version: 1.0.0-rc1
Keywords: Cc:
Qualification:

Description

I am playing around with a plugin that loads configs from [app]/pagetree/home/page.yml

The problem is that on windows $handler is 'pagetree\home\page.yml' when sfConfigCache::configHandler() is called. As a result pattern like the following does not match:

pagetree/*/page:

class: mnPageTreeConfigHandler

I think configHandler() should do the following on the first line to better handle windows: $handler = str_replace('\\', '/', $handler);

PS: Version 1.0.0-rc2 is missing in the version drop down.

Change History

02/18/07 11:13:09 changed by fabien

Where? The configHandler() method does not exist. Do you mean callHandler()?

02/18/07 11:17:07 changed by lsmith

yes .. i meant callHandler() .. sorry

02/18/07 20:08:27 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [3503]) fixed custom config handler on windows for configs inside subdirs (closes #1468)

02/18/07 20:08:38 changed by fabien

  • milestone set to 1.0.0.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.