Last change
on this file since 30812 was
22404,
checked in by plg, 12 years ago
|
bug fixed: if $confcategory_url_style == 'id-name' the slideshow on a
specific album was alway failing due to automatic redirection in
include/section_init
|
File size:
838 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Plugin Name: CoolIris-Piclens |
---|
4 | * File : piclens-rss.php |
---|
5 | */ |
---|
6 | |
---|
7 | define('PHPWG_ROOT_PATH','../../'); |
---|
8 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
9 | |
---|
10 | include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); |
---|
11 | |
---|
12 | // avoid redirection in case of id-name |
---|
13 | $conf['category_url_style'] = 'id'; |
---|
14 | |
---|
15 | include_once(PHPWG_ROOT_PATH.'include/section_init.inc.php'); |
---|
16 | |
---|
17 | // +-----------------------------------------------------------------------+ |
---|
18 | // | Check Access and exit when user status is not ok | |
---|
19 | // +-----------------------------------------------------------------------+ |
---|
20 | check_status(ACCESS_GUEST); |
---|
21 | |
---|
22 | // Load Piclens |
---|
23 | $obj = new Piclens(); |
---|
24 | $obj->load_config(); |
---|
25 | |
---|
26 | // Parametrages du mur 3D (parametres communs ou differents) |
---|
27 | $piclenswallfeed = false; |
---|
28 | |
---|
29 | // Generate rss |
---|
30 | include(PICLENS_PATH.'generate_rss.php'); |
---|
31 | |
---|
32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.