Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Error Call to undefined function CodeIgniterlocale_set_default()

//First try enebaling intl in php.ini
//BEFORE
;extension=intl
//AFTER
extension=intl
//if that doesn't work do this hack
//Change the /system/CodeIgniter.php code
//BEFORE
locale_set_default($this->config->defaultLocale ?? 'en');
//AFTER
if( function_exists('locale_set_default' ) ) :
    locale_set_default($this->config->defaultLocale ?? 'en');
    endif;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Error #Call #undefined #function
ADD COMMENT
Topic
Name
6+8 =