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.

Ticket #1004: jelix-trunk-events-rename-compiled-file-depending-of-entrypoint.diff

File jelix-trunk-events-rename-compiled-file-depending-of-entrypoint.diff, 516 bytes (added by catsoup, 12 years ago)

what I made for me, but there must be a cleaner way to do this

  • lib/jelix/events/jEvent.class.php

    diff -r 9d30dc4ae7c6 lib/jelix/events/jEvent.class.php
    a b  
    169169    */
    170170    protected static function loadListenersFor ($eventName) {
    171171        if (!isset($GLOBALS['JELIX_EVENTS'])) {
     172            self::$compilerData[3] = $GLOBALS['gJConfig']->urlengine['urlScriptId'].'.'.self::$compilerData[3];
    172173            jIncluder::incAll(self::$compilerData);
    173174        }
    174175