source: extensions/SmartAlbums/main.inc.php @ 10871

Last change on this file since 10871 was 10871, checked in by mistic100, 13 years ago

repository for SmartAlbums

File size: 658 bytes
Line 
1<?php
2/*
3Plugin Name: SmartAlbums
4Version: auto
5Description: Easy create dynamic albums with tags, date and other criteria
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=
7Author: Mistic
8Author URI: http://www.strangeplanet.fr
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12global $prefixeTable;
13
14define('SMART_DIR', basename(dirname(__FILE__)));
15define('SMART_PATH', PHPWG_PLUGINS_PATH.SMART_DIR.'/');
16define('CATEGORY_FILTERS_TABLE', $prefixeTable.'category_filters');
17
18if (script_basename() == 'admin')
19{
20  include_once(SMART_PATH.'init_cat_modify.php');
21 
22  add_event_handler('loc_begin_cat_modify', 'smart_cat_modify'); 
23}
24
25
26?>
Note: See TracBrowser for help on using the repository browser.