Ignore:
Timestamp:
Apr 1, 2014, 11:32:37 PM (10 years ago)
Author:
Miklfe
Message:

Correction du fichier de langue

File:
1 edited

Legend:

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

    r27781 r28050  
    4747  add_event_handler('loc_end_element_set_unit', 'mps_loc_end_element_set_unit');
    4848} else {
    49   // file containing all public handlers functions
    50   include_once(MPS_PATH . 'include/public_events.inc.php');
     49 // file containing all public handlers functions
     50 include_once(MPS_PATH . 'include/public_events.inc.php');
    5151 
    5252  // add button on album and photos pages
     
    6969  $maintain = new MyPiwiShop_maintain(MPS_ID);
    7070  $maintain->autoUpdate(MPS_VERSION, 'install');
     71 
     72  load_language('plugin.lang', MPS_PATH);
    7173 
    7274  $query='
     
    7577  ;';
    7678       
    77   if(pwg_db_num_rows(pwg_query($query))==0) {
     79 if(pwg_db_num_rows(pwg_query($query))==0) {
    7880   single_insert(
    7981    $prefixeTable."mps_conf",
     
    8486  }
    8587 
    86   // load plugin language file
    87   load_language('plugin.lang', MPS_PATH);
    8888}
    8989
Note: See TracChangeset for help on using the changeset viewer.