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 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1269 closed bug (invalid)

jelix scripts unrecognized lib folder

Reported by: isepman Owned by:
Priority: normal Milestone:
Component: jelix-scripts Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

When using multiple versions of jelix on the same server, My lib folder is called differently than "lib". For example, I have:

  • "lib" which contains jelix 1.1
  • "lib-1.2" which contains jelix 1.2 for my 1.2 applications
  • "lib-trunk" which is my build of the trunk repo

Everything works fine, I just have to change my application.init files on my applications.

But when I want to use jelix-scripts, Jelix can't find the right lib folder because of lib/jelix-scripts/default.conf.php. Which always define lib folder as "lib"

Therefor, I suggest to change this file: jelix-trunk/lib/jelix-scripts/default.conf.php line 29 (trunk version @rev1789)

define ('JELIXS_LIB_PATH'           , JELIXS_APPS_BASEPATH.'/lib/');

by

define ('JELIXS_LIB_PATH'           , realpath(dirname(__FILE__).'/../'));

Could you please take this in consideration?

Thanks,

Attachments (1)

jelix-scripts-lib.diff (505 bytes) - added by isepman 10 years ago.
diff du changement de ficher

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by isepman

diff du changement de ficher

comment:1 Changed 10 years ago by laurentj

  • Resolution set to invalid
  • review changed from review? to review-
  • Status changed from new to closed

You have to provide your own configuration file, and you can set all configuration values you need. see

comment:2 Changed 10 years ago by laurentj

  • Milestone Jelix 1.2.2 deleted
Note: See TracTickets for help on using tickets.