Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Проблема с отображением кодировки ru в интерфейсе #121

Open
ssconst opened this issue May 18, 2018 · 0 comments

Comments

@ssconst
Copy link

ssconst commented May 18, 2018

Не могу понять в чем проблема - на сервере интерфейс ElFinder в кракозябрах, локально (win10) все отлично.

1

Используется вот такой код:

<?php 
        if ($model->photo1) echo HTML::img("@web{$model->photo1}", ['alt'=> $model->name, 'style'=>'width:50px;'] );
        echo $form->field($model, 'photo1')->widget(InputFile::className(), [
        'language'      => 'ru',
        'controller'    => 'elfinder', // вставляем название контроллера, по умолчанию равен elfinder
        'path' => 'goods',
        'filter'        => 'image',   
        'template'      => '<div class="input-group">{input}<span class="input-group-btn">{button}</span></div>',
        'options'       => ['class' => 'form-control'],
        'buttonOptions' => ['class' => 'btn btn-default'],
        'multiple'      => false       // возможность выбора нескольких файлов
        ]);

?>

Кодировка файла utf8 без boom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant