$NetBSD: patch-aj,v 1.1 2008/07/25 00:53:58 tonnerre Exp $

--- spaw/class/lang.class.php.orig	2006-04-18 13:25:53.000000000 +0200
+++ spaw/class/lang.class.php
@@ -12,6 +12,9 @@
 // v.1.0, 2003-03-20
 // ================================================
 
+// Prevent remote file inclusion
+if (preg_match("/:\/\//i", $spaw_root)) die ("can't include external file");
+
 class SPAW_Lang
 {
   // current language
