Last change
on this file since 20228 was
3645,
checked in by tiico, 15 years ago
|
Add index.php file into directory
Add CHANGELOG and clean header files
Add 'last comments' option for name and descriptions (%ID option)
Add maintain.inc.php for migration to 0.4.x (name and description translation)
Complete Chinese translation (thanks winson)
- Correct the latests commit (3636 & 3637 were not complete)
|
File size:
576 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Plugin Name: CoolIris-Piclens |
---|
4 | * File : piclens-copy.php |
---|
5 | */ |
---|
6 | |
---|
7 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
8 | |
---|
9 | if (!file_exists($filename)) |
---|
10 | { |
---|
11 | $crossdomain = (dirname(__FILE__)).'/crossdomain.xml'; |
---|
12 | if (!file_exists($crossdomain)) |
---|
13 | array_push($page['error'], l10n('piclens_admin_saveERR1')); |
---|
14 | else |
---|
15 | { |
---|
16 | if (!copy($crossdomain, $filename)) |
---|
17 | array_push($page['error'], l10n('piclens_admin_saveERR2')); |
---|
18 | else |
---|
19 | array_push($page['infos'], l10n('piclens_admin_saveOK2')); |
---|
20 | } |
---|
21 | } |
---|
22 | else |
---|
23 | array_push($page['error'], l10n('piclens_admin_saveERR3')); |
---|
24 | |
---|
25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.