# File lib/cgikit/resource.rb, line 221
    def load_packages
      package_path = Application::PACKAGE_PATH
      if FileTest.exist?(package_path) then
        Dir.foreach(package_path) do |name|
          path = File.join(Application::PACKAGE_PATH, name)
          if /\A[^.]/ === name and FileTest.directory?(path) then
            load_package(name)
          end
        end
      end
    end