芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/somares/vendor/jenssegers/date/src/DateServiceProvider.php
app['events']->listen($localeChangedEvent, function () { $this->setLocale(); }); $this->setLocale(); } /** * Set the locale. */ protected function setLocale() { $locale = $this->app['translator']->getLocale(); Date::setLocale($locale); } /** * Register the service provider. */ public function register() { // Nothing. } /** * Get the services provided by the provider. * * @return array */ public function provides() { return ['Date']; } }