Changeset 11752


Ignore:
Timestamp:
Jul 15, 2011, 6:07:43 PM (9 years ago)
Author:
nikrou
Message:

Fix incompatibility with Cooliris plugins
Use $_SERVERPATH_INFO only if defined

Location:
extensions/photoWidget
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • extensions/photoWidget/include/photoWidgetContent.class.php

    r7385 r11752  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    4343
    4444    $match_content = $_SERVER['QUERY_STRING'];
    45     if (PHPWG_ROOT_PATH != $page['root_path']) {
     45    if (PHPWG_ROOT_PATH != $page['root_path'] && !empty($_SERVER['PATH_INFO'])) {
    4646      $match_content = $_SERVER['PATH_INFO'];
    4747    }
  • extensions/photoWidget/language/ar_SA/index.php

    r10172 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/cs_CZ/index.php

    r6850 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/de_DE/index.php

    r6850 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/en_UK/index.php

    r6850 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/es_ES/index.php

    r6850 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/fr_FR/index.php

    r6850 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/hu_HU/index.php

    r7326 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/it_IT/index.php

    r11529 r11752  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
     3// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    86// +-----------------------------------------------------------------------+
    97// | This program is free software; you can redistribute it and/or modify  |
     
    1816// | You should have received a copy of the GNU General Public License     |
    1917// | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2220// +-----------------------------------------------------------------------+
    2321
  • extensions/photoWidget/language/lv_LV/index.php

    r7830 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/nl_NL/index.php

    r7848 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/no_NO/index.php

    r8938 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/pl_PL/index.php

    r10909 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/ru_RU/index.php

    r7865 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/sk_SK/index.php

    r9476 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/language/tr_TR/index.php

    r7981 r11752  
    33// | pwgPhotoWidget  - a plugin for Piwigo                                 |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/photoWidget/main.inc.php

    r10988 r11752  
    2222/*
    2323Plugin Name: photoWidget
    24 Version: 0.3.0
     24Version: 0.3.1
    2525Description: add an amazing 3D animation for pictures
    2626Plugin URI: http://piwigo.org/ext/extension_view.php?eid=370
Note: See TracChangeset for help on using the changeset viewer.