[% USE Api2; USE Dumper; SET CPANEL.CPVAR.dprefix = "../"; SET security_id = "../../../"; SET PageScripts = [ "${security_id}3rdparty/cloudlinux/cl-message-handler.js", "${security_id}3rdparty/cloudlinux/alt-selector.js", "${security_id}3rdparty/cloudlinux/alt-ruby-selector.js" ]; SET interpreters = Api2.exec('LVEInfo', 'getRubyInterpreters', {}); SET home_dir = Api2.exec('LVEInfo', 'getHomeDir', {}); SET selector = Api2.exec('LVEInfo', 'rubySelector', {}); SET list_domains = Api2.exec("Email", "listmaildomains"); SET is_ruby_enabled = Api2.exec('LVEInfo', 'isRubyEnabled', {}); %] [% css_code = PROCESS css_block %] [% js_code = PROCESS js_block %] [% WRAPPER '_assets/master.html.tt' app_key = 'lverubysel' # file attribute from dynamicuiconf page_title = "Setup Ruby App" # title of your window include_legacy_stylesheets = 1 include_legacy_scripts = 1 page_js = js_code page_styles = css_code -%] [% IF is_ruby_enabled.0 %]
[% INCLUDE 'ruby-selector-check.tmpl' %]Ruby version | |
App Directory [% home_dir.0 %]/ | |
App Domain/URI | |