lib/include/class_knjappserver_web.rb in knjappserver-0.0.26 vs lib/include/class_knjappserver_web.rb in knjappserver-0.0.28

- old
+ new

@@ -1,9 +1,9 @@ class Knjappserver #Imports a .rhtml-file and executes it. def import(filepath) if filepath.to_s.index("../proc/self") != nil - raise Knj::Errors::NoAccess, "Possible attempt to hack the appserver." + raise Errno::EACCES, "Possible attempt to hack the appserver." end _httpsession.eruby.import(filepath) end \ No newline at end of file