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

Closed 8 years ago

Last modified 8 years ago

#1434 closed enhancement (invalid)

copyFile does not install plugins

Reported by: foxmask Owned by:
Priority: normal Milestone:
Component: jelix:installer Version: 1.2.5
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

in an install script we can not use this

this->copyFile('tpl/function.foobar.php', 'plugins:tpl/html/function.foobar.php');

because the expandPath function of the jInstallerBase class does not handle "plugins:" path

Change History (2)

comment:1 Changed 8 years ago by laurentj

  • Resolution set to invalid
  • Status changed from new to closed

What is "plugins:" supposed to be (since plugins can be in several directories, like modules)? There was never such a shorcut.

-> "app:plugins/tpl/...."

comment:2 Changed 8 years ago by foxmask

my mistake, i was thinking, as there is in the modulePath lib:xxx,app:xxx and pluginsPath app:plugins i lost my way this plugins:xxx

Note: See TracTickets for help on using tickets.