kkozlik / iquest-wr

Web interface for (cipher) games
GNU General Public License v3.0
0 stars 0 forks source link

chroust: Unexpected exception if there is unknown option #20

Closed kkozlik closed 5 years ago

kkozlik commented 6 years ago

metadata.ini contains:

[options]
hide_place_timoeut=1h

chroust display:

Unexpected exception. See PHP error log for details:
Unknown option 'hide_place_timoeut'
PHP Fatal error:  Uncaught UnexpectedValueException: Unknown option 'hide_place_timoeut' in /mnt/iquest/contest/modules/iquest/options.php:154
Stack trace:
#0 /mnt/iquest/contest/utils/chroust(502): Iquest_Options::set('hide_place_timo...', '1h')
#1 /mnt/iquest/contest/utils/chroust(854): Iquest_Metadata->save_options()
#2 /mnt/iquest/contest/utils/chroust(888): Chroust::process_top_metadata('/mnt/iquest/tmp...')
#3 /mnt/iquest/contest/utils/chroust(1326): Chroust::process_data_dir('/mnt/iquest/tmp...')
#4 /mnt/iquest/contest/utils/chroust(1516): Chroust::main()
#5 {main}
  thrown in /mnt/iquest/contest/modules/iquest/options.php on line 154