source: extensions/Histogram/admin.php @ 18619

Last change on this file since 18619 was 15346, checked in by grum, 12 years ago

feature:2640 - Compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 918 bytes
Line 
1<?php
2/* -----------------------------------------------------------------------------
3  Plugin     : Histogram
4  Author     : Grum
5    email    : grum@piwigo.org
6    website  : http://photos.grum.fr
7
8    << May the Little SpaceFrog be with you ! >>
9  ------------------------------------------------------------------------------
10  See main.inc.php for release information
11
12  --------------------------------------------------------------------------- */
13
14if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
15
16global $prefixeTable, $template;
17load_language('plugin.lang', HGRAM_PATH);
18
19$main_plugin_object = get_plugin_data($plugin_id);
20
21
22if(CommonPlugin::checkGPCRelease(3,2,0))
23{
24  $config=Array();
25  GPCCore::loadConfig('hgram', $config);
26
27  include(HGRAM_PATH."hgram_aip.class.inc.php");
28  $plugin_ai = new HGram_AIP($prefixeTable, $main_plugin_object->getFileLocation());
29}
30
31$plugin_ai->manage();
32
33
34
35?>
Note: See TracBrowser for help on using the repository browser.