Ignore:
Timestamp:
Mar 5, 2013, 5:14:52 PM (8 years ago)
Author:
mistic100
Message:

fix language load, fix fatal error, (probably) fix jQuery issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Back2Front/main.inc.php

    r21212 r21213  
    1616define('B2F_TABLE', $prefixeTable . 'image_verso');
    1717
    18 load_language('plugin.lang', B2F_PATH);
    1918include_once(B2F_PATH . 'Back2Front.php');
     19
     20add_event_handler('init', 'Back2Front_init');
     21
     22function Back2Front_init()
     23{
     24  load_language('plugin.lang', B2F_PATH);
     25}
    2026
    2127if (script_basename() == 'picture')
Note: See TracChangeset for help on using the changeset viewer.