Last change
on this file since 3637 was
3637,
checked in by tiico, 15 years ago
|
Pb with last commit (3636)
Convert all file into UTF8 and Unix format
Add TODO in chinese language file
|
File size:
758 bytes
|
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 | |
---|
12 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
13 | |
---|
14 | if (!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 | } |
---|
27 | else |
---|
28 | array_push($page['error'], l10n('piclens_admin_saveERR3')); |
---|
29 | |
---|
30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.