1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

File inspector - add standalone mode (not pretty), just give one error if a root plugin directory is missing

This commit is contained in:
e107steved
2008-01-03 22:29:08 +00:00
parent 0885417425
commit 771343ee8a
3 changed files with 315 additions and 62 deletions

View File

@@ -0,0 +1,47 @@
<?php
/*
+----------------------------------------------------------------------------+
| e107 website system
|
| <20>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/check_inspector.php,v $
| $Revision: 1.1 $
| $Date: 2008-01-03 22:29:02 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
/*
This file 'authorises' the standalone file inspector mode. If it is missing, or in its default state, File Inspector can only
be run in the 'normal' mode, which is protected by normal E107 security.
To run File Inspector in standalone mode (for checking a totally dead system), edit this file in the four places listed.
Then browse to the URL: yoursite/e107_admin/fileinspector.php?alone
=================================================================================================================
BE SURE TO REVERSE THE EDITS, OR DELETE THIS FILE, ONCE YOU HAVE IDENTIFIED THE PROBLEM WITH YOUR SYSTEM
=================================================================================================================
*/
// 1. Comment out the next line
exit;
// 2. Uncomment the next line
// define('e107_INIT', TRUE);
// 3. Comment out the next line
define('e107_FILECHECK',TRUE);
// 4. Uncomment the next line
// define('e107_STANDALONE',TRUE);
?>