aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/include/plug.inc.php
blob: 55c4b2dde6f1d95ecf2cbe9c03dcc67950714435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');

$edited_file = PHPWG_PLUGINS_PATH . "PersonalPlugin/main.inc.php";

if (file_exists($edited_file))
{
  $content_file = file_get_contents($edited_file);
}
else
{
  $content_file = "<?php\n/*
Plugin Name: " . l10n('locfiledit_onglet_plug') . "
Version: 1.0
Description: " . l10n('locfiledit_onglet_plug') . "
Plugin URI: http://piwigo.org
Author:
Author URI:
*/\n\n\n\n\n?>";
}

$codemirror_mode = 'application/x-httpd-php';

?>