lib/knj/php_parser/tests/test.rb in knjrbfw-0.0.98 vs lib/knj/php_parser/tests/test.rb in knjrbfw-0.0.99
- old
+ new
@@ -1,6 +1,6 @@
require "knj/autoload"
-require "php4r"
+require "php4r" if !Kernel.const_defined?(:Php4r)
require "#{$knjpath}php_parser/php_parser"
module Knj::Php_parser::Functions
def self.my_function(phpvar_arg)
Php4r.print("Hejsa.\n")