Ignore:
Timestamp:
Sep 20, 2010, 12:44:47 AM (14 years ago)
Author:
grum
Message:

Migration from version 0.4.0 to 0.5.1 implemented

File:
1 edited

Legend:

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

    r6950 r6977  
    6363|         |            |   . Make test images lighter
    6464|         |            |     The weight of tests images provided with the
    65 |         |            |     JpegMetadata class was to heavy ; the file size has
    66 |         |            |     been reduced from 9Mb to 230Kb
     65|         |            |     JpegMetadata class was too heavy ; the file size
     66|         |            |     has been reduced from 9Mb to 230Kb
    6767|         |            |
    6868|         |            | * mantis : feature 1688
     
    182182else
    183183{
    184   //AMD public part loaded and active only if in public page
    185   include_once("amd_pip.class.inc.php");
    186   $obj = new AMD_PIP($prefixeTable, __FILE__);
    187   set_plugin_data($plugin['id'], $obj);
     184  //AMD public part loaded and active only if in public page and if GPC is up to date
     185  if(CommonPlugin::checkGPCRelease(3,2,0))
     186  {
     187    include_once("amd_pip.class.inc.php");
     188    $obj = new AMD_PIP($prefixeTable, __FILE__);
     189    set_plugin_data($plugin['id'], $obj);
     190  }
    188191}
    189192
Note: See TracChangeset for help on using the changeset viewer.