diff --git a/php/index.php b/php/index.php index f1b17e1..bd9f27b 100644 --- a/php/index.php +++ b/php/index.php @@ -135,8 +135,8 @@ echo '
'; echo '
' . dgettext('litexmplphp', 'Customize options for generating the Roman Calendar') . ''; echo ''; -$apiOptions = new ApiOptions(); -ApiOptions::$locale = $baseLocale; + +$apiOptions = new ApiOptions(['locale' => $baseLocale]); $apiOptions->acceptHeaderInput->hide(); Input::setGlobalWrapper('td'); Input::setGlobalLabelClass('api-option-label');