config { engine MP20; template_engine TT; Init Std { } Conf Gantry { conffile `docs/app.gantry.conf`; instance sample; } HttpdConf Gantry { gantry_conf 1; } SQL SQLite { } SQL Postgres { } SQL MySQL { } CGI Gantry { with_server 1; flex_db 1; gantry_conf 1; } Control Gantry { dbix 1; } Model GantryDBIxClass { } SiteLook GantryDefault { no_gen 1; gantry_wrapper meaning_less_value; } } app MySample { config { dbconn `dbi:SQLite:dbname=app.db` => no_accessor; template_wrapper `genwrapper.tt` => no_accessor; doc_rootp `/static` => no_accessor; show_dev_navigation 1 => no_accessor; } config CGI { dbconn `dbi:SQLite:dbname=app.db` => no_accessor; app_rootp `/cgi-bin/sample.cgi` => no_accessor; } controller is base_controller { method do_main is base_links { } method site_links is links { } } }