aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/LocalFilesEditor/include/localconf.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LocalFilesEditor/include/localconf.inc.php')
-rw-r--r--plugins/LocalFilesEditor/include/localconf.inc.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/LocalFilesEditor/include/localconf.inc.php b/plugins/LocalFilesEditor/include/localconf.inc.php
deleted file mode 100644
index b801db236..000000000
--- a/plugins/LocalFilesEditor/include/localconf.inc.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
-
-$edited_file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . "config/config.inc.php";
-
-if (file_exists($edited_file))
-{
- $content_file = file_get_contents($edited_file);
-}
-else
-{
- $content_file = "<?php\n\n/* ".l10n('locfiledit_newfile')." */\n\n\n\n\n?>";
-}
-
-$template->assign('show_default', array(
- array(
- 'URL' => LOCALEDIT_PATH.'show_default.php?file=include/config_default.inc.php',
- 'FILE' => 'config_default.inc.php'
- )
- )
-);
-
-$codemirror_mode = 'application/x-httpd-php';
-
-?> \ No newline at end of file