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

#1166 closed bug (fixed)

in cmdline, $gJConfig->urlengine['basePath'] is badly rewritten by jConfigCompiler

Reported by: bballizlife Owned by: laurentj
Priority: normal Milestone: Jelix 1.2RC1
Component: jelix:core Version: 1.2b1
Severity: normal Keywords: basepath, jconfigcompiler, jurl, cmdline
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

When using a cmdline script, jConfigCompiler rewrite the basePath variable from the configuration file.

This is done is jConfigCompiler::prepareConfig() :

$basepath = $config->urlenginebasePath? = $config->urlengineurlScriptPath? ;

The basePath must be kept unchanged, as configured in the configuration file of the application. Indded, generating URL (simple and basic_significant) in cmdline mode is doing wrong, adding a bad basePath to them.

Change History (1)

comment:1 Changed 10 years ago by laurentj

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