developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 11 years ago

#918 closed bug (fixed)

Avoid realpath in application.init.php

Reported by: laurentj Owned by: laurentj
Priority: high Milestone: Jelix 1.1.4
Component: jelix:core Version: 1.1
Severity: major Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

This realpath instructions may cause issues, especially on windows and in some case. For example, in jelix-scripts, for the creation of cmdline script, the myapp/scripts directory may not exists, and then JELIX_APP_CMD_PATH is equal to "". Then created scripts are on the root of the FS, not in the application !

I think we could remove it if the path does not contain "..".

Change History (1)

comment:1 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.