Search
 
SCRIPT & CODE EXAMPLE
 

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;
Comment

PREVIOUS NEXT
Code Example
Php :: laravel check if object empty 
Php :: beaver builder shortcode post title 
Php :: foreign id laravel migration 
Php :: error log array 
Php :: php current file name 
Php :: api headers php 
Php :: phpmailer add reply to 
Php :: laravel make model with migration and controller 
Php :: laravel db seed specific class 
Php :: php loop through array 
Php :: calcolo iva php 
Php :: laravel validation time hours minutes format 
Php :: lravel redirect with error 
Php :: PHP extension simplexml 
Php :: 19 hours from now php 
Php :: for loop in php 
Php :: wordpress stop redirect to https 
Php :: log facade laravel 
Php :: diffforhumans laravel 
Php :: twig jsoncencode 
Php :: wordpress check if current page is front page 
Php :: php convert string to utf8 
Php :: php self 
Php :: php exit foreach 
Php :: php create file html 
Php :: if null blade laravel 
Php :: increment single column laravel 
Php :: header location php 
Php :: laravel auth register false 
Php :: how to hide .php extension using .htaccess 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =