Rename login.erb -> page.erb
This commit is contained in:
parent
011be07e03
commit
8a8d793199
@ -9,7 +9,7 @@ cgi = CGI.new
|
|||||||
|
|
||||||
hostname = File.read("/etc/hostname").strip rescue "localhost"
|
hostname = File.read("/etc/hostname").strip rescue "localhost"
|
||||||
|
|
||||||
template = ERB.new(File.read(File.join(ASSETS_DIR, "login.erb")))
|
template = ERB.new(File.read(File.join(ASSETS_DIR, "page.erb")))
|
||||||
|
|
||||||
cgi.out("type" => "text/html", "charset" => "UTF-8") do
|
cgi.out("type" => "text/html", "charset" => "UTF-8") do
|
||||||
template.result(binding)
|
template.result(binding)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user