source: trunk/plugins/LocalFilesEditor/include/plug.inc.php @ 10348

Last change on this file since 10348 was 10348, checked in by patdenice, 13 years ago

Clean code

File size: 516 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5$edited_file = PHPWG_PLUGINS_PATH . "PersonalPlugin/main.inc.php";
6
7if (file_exists($edited_file))
8{
9  $content_file = file_get_contents($edited_file);
10}
11else
12{
13  $content_file = "<?php\n/*
14Plugin Name: " . l10n('locfiledit_onglet_plug') . "
15Version: 1.0
16Description: " . l10n('locfiledit_onglet_plug') . "
17Plugin URI: http://piwigo.org
18Author:
19Author URI:
20*/\n\n\n\n\n?>";
21}
22
23$codemirror_mode = 'application/x-httpd-php';
24
25?>
Note: See TracBrowser for help on using the repository browser.