Development

#8835 (Windows Project configuration not compatible with linux server)

You must first sign up to be able to contribute.

Ticket #8835 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Windows Project configuration not compatible with linux server

Reported by: mojiz Assigned to: fabien
Priority: minor Milestone: 1.3.7
Component: generator Version: 1.4.5
Keywords: windows,generator,project,configuration Cc:
Qualification: Unreviewed

Description

When initiating a new project in a windows environment,The ProjectConfiguration?.class.php looks like this:

require_once dirname(__FILE__).'/..\lib\vendor\symfony\lib/autoload/sfCoreAutoload.class.php';

if uploaded to a linux server it generates errors as linux doesn't work with \ however windows works fine using /.

So if the generator did the config like this:

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';

A lazy programmer like me is saved 30seconds a month!

Change History

08/04/10 18:36:34 changed by fabien

  • milestone set to 1.3.7.

08/04/10 18:38:41 changed by fabien

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

(In [30530]) [1.3, 1.4] fixed path when a project is created on Windows and used on Linux (closes #8835)