lib/knj/objects.rb in knjrbfw-0.0.74 vs lib/knj/objects.rb in knjrbfw-0.0.75
- old
+ new
@@ -31,10 +31,9 @@
raise "No DB given." if !@args[:db] and !@args[:custom]
raise "No class path given." if !@args[:class_path] and (@args[:require] or !@args.key?(:require))
if args[:require_all]
- require "#{$knjpath}php"
loads = []
Dir.foreach(@args[:class_path]) do |file|
next if file == "." or file == ".." or !file.match(/\.rb$/)
file_parsed = file
\ No newline at end of file