$31 GRAYBYTE WORDPRESS FILE MANAGER $40

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev/

HOME
Current File : /opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev//install_scripts_bootstrap_code.rb
#!/usr/bin/env ruby
# encoding: utf-8

# This script changes the bootstrap code for all Phusion Passenger commands,
# as well as the Nginx module config script, so that they work no
# matter which Ruby interpreter is currently in $PATH, and no matter how
# Phusion Passenger is packaged.
#
# The bootstrap code must not add ruby_libdir to $LOAD_PATH. The active Ruby
# can be *any* Ruby interpreter, maybe not even MRI. ruby_libdir belongs to
# a Ruby interpreter installed by the distribution, and the files in it may
# may be incompatible with the active Ruby.

type = ARGV.shift

if type == "--ruby"
  ruby_libdir = ARGV.shift
  BOOTSTRAP_CODE = %Q{
    ENV["PASSENGER_LOCATION_CONFIGURATION_FILE"] = "#{ruby_libdir}/phusion_passenger/locations.ini"
    begin
      require 'rubygems'
    rescue LoadError
    end
    require '#{ruby_libdir}/phusion_passenger'
  }
elsif type == "--nginx-module-config"
  bindir = ARGV.shift
  BOOTSTRAP_CODE = %Q{
    PASSENGER_CONFIG=#{bindir}/passenger-config
  }
else
  abort "Invalid type"
end
BOOTSTRAP_CODE.gsub!(/^  (  )?/, '').strip

ARGV.each do |filename|
  File.open(filename, "r+") do |f|
    text = f.read
    text.sub!(
      /^## Magic comment: begin bootstrap ##.*## Magic comment: end bootstrap \#\#$/m,
      BOOTSTRAP_CODE)
    f.rewind
    f.truncate(0)
    f.write(text)
  end
end

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Mar 2026 5.03 PM
root / root
0755
boost-patches
--
16 Mar 2026 5.03 PM
root / root
0755
ci
--
16 Mar 2026 5.03 PM
root / root
0755
configkit-schemas
--
16 Mar 2026 5.03 PM
root / root
0755
rack.test
--
16 Mar 2026 5.03 PM
root / root
0755
vagrant
--
16 Mar 2026 5.03 PM
root / root
0755
colorize-logs
7.288 KB
28 Jan 2026 6.50 AM
root / root
0755
copy_boost_headers
9.555 KB
28 Jan 2026 6.50 AM
root / root
0755
index_cxx_dependencies.rb
3.936 KB
28 Jan 2026 6.50 AM
root / root
0755
install_scripts_bootstrap_code.rb
1.308 KB
28 Jan 2026 6.50 AM
root / root
0755
list_tests
0.958 KB
28 Jan 2026 6.50 AM
root / root
0755
nginx_version_sha256
2.499 KB
28 Jan 2026 6.50 AM
root / root
0755
parse_file_descriptor_log
2.545 KB
28 Jan 2026 6.50 AM
root / root
0755
ruby_server.rb
6.174 KB
28 Jan 2026 6.50 AM
root / root
0755
runner
0.608 KB
28 Jan 2026 6.50 AM
root / root
0755
show-latest-crashlog-dir
0.766 KB
28 Jan 2026 6.50 AM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF