weathermap |
Subversion Repositories: |
Rev 88 | Rev 90 | |
---|---|---|
Line 2... | Line 2... | |
|
| |
require_once 'editor.inc.php'; |
require_once 'editor.inc.php'; | |
require_once 'Weathermap.class.php'; |
require_once 'Weathermap.class.php'; | |
|
| |
// so that you can't have the editor active, and not know about it. |
// so that you can't have the editor active, and not know about it. | |
$ENABLED=true; |
$ENABLED=false; | |
|
| |
if(! $ENABLED) |
if(! $ENABLED) | |
{ |
{ | |
print "<p>The editor has not been enabled yet. You need to set ENABLED=true at the top of editor.php</p>"; |
print "<p>The editor has not been enabled yet. You need to set ENABLED=true at the top of editor.php</p>"; | |
print "<p>Before you do that, you should consider using FilesMatch (in Apache) or similar to limit who can access the editor. There is more information in the install guide section of the manual.</p>"; |
print "<p>Before you do that, you should consider using FilesMatch (in Apache) or similar to limit who can access the editor. There is more information in the install guide section of the manual.</p>"; |