# File lib_wpm/wpm.rb, line 590 def curr_page path_info = env['PATH_INFO'] if (path_info) then if (path_info =~ %r"^/?([^/]+)") then return $1 end end nil end