openbsd-ports/net/php-weathermap/patches/patch-editor-config_php-dist

21 lines
585 B
Plaintext

$OpenBSD: patch-editor-config_php-dist,v 1.1 2011/09/27 11:15:00 sthen Exp $
Allow editor to be enabled via a config file rather than editing the
editor.php script itself.
--- editor-config.php-dist.orig Fri Feb 18 22:55:29 2011
+++ editor-config.php-dist Fri Feb 18 22:56:07 2011
@@ -1,10 +1,7 @@
<?php
-//
-// The editor tries to guess where your cacti installation is, but you
-// may need to copy this file to editor-config.php, and edit the lines below
-// if it doesn't guess correctly.
-//
+// The editor will not be used unless this is set to true.
+$ENABLED=false;