source: extensions/piclens/piclens-rss.php @ 31969

Last change on this file since 31969 was 22404, checked in by plg, 11 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
RevLine 
[3637]1<?php
2/*
3 * Plugin Name: CoolIris-Piclens
[3645]4 * File :  piclens-rss.php 
5 */
[3637]6
7define('PHPWG_ROOT_PATH','../../');
8if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
9
[22404]10include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
[3637]11
[22404]12// avoid redirection in case of id-name
13$conf['category_url_style'] = 'id';
14
[3637]15include_once(PHPWG_ROOT_PATH.'include/section_init.inc.php');
16
17// +-----------------------------------------------------------------------+
18// | Check Access and exit when user status is not ok                      |
19// +-----------------------------------------------------------------------+
20check_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
30include(PICLENS_PATH.'generate_rss.php');
31
32?>
Note: See TracBrowser for help on using the repository browser.