source: extensions/piclens/piclens/admin/piclens_copy.php @ 3636

Revision 3636, 787 bytes checked in by tiico, 11 years ago (diff)

Correct name and description of pictures with extendedDescriotion plugin

Line 
1<?php 
2/*
3 * Plugin Name: CoolIris-Piclens
4 * Version: 0.3.4
5 * Description: Cooliris/Piclens activation
6 * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
7 * Author: Tiico
8 * Author URI:
9 * */
10/********* Fichier piclens-copy.php  *********/
11
12if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
13
14if (!file_exists($filename)) 
15{
16        $crossdomain = (dirname(__FILE__)).'/crossdomain.xml';
17        if (!file_exists($crossdomain))
18                array_push($page['error'], l10n('piclens_admin_saveERR1'));
19        else
20        {       
21                if (!copy($crossdomain, $filename)) 
22                        array_push($page['error'], l10n('piclens_admin_saveERR2'));
23                else
24                        array_push($page['infos'], l10n('piclens_admin_saveOK2'));     
25        }
26}
27else
28        array_push($page['error'], l10n('piclens_admin_saveERR3'));
29
30?>
Note: See TracBrowser for help on using the repository browser.