title: How to integrate ckfinder with yii2
body: <p>I am trying to integrate ckeditor and ckfinder to a project using yii2.
  I have placed both ckeditor and ckfinder folder in root/vendor and made necessary adjustments, ckeditor is working fine, ckfinder also showing the file browser popup with 'Browser server' button. But whenever I click on the browse button its not opening the file selector popup, instead showing a page not found error.</p>
  
  <p>I have tried to integrate ckfinder writing following lines of code in ckeditor/config.js:</p>
  
  <pre><code>config.filebrowserBrowseUrl = 'hostname/vendor/ckfinder/ckfinder.html';
  config.filebrowserImageBrowseUrl = 'hostname/vendor/ckfinder/ckfinder.html?type=Images';
  config.filebrowserFlashBrowseUrl = 'hostname/vendor/ckfinder/ckfinder.html?type=Flash';
  config.filebrowserUploadUrl = 'hostname/vendor/ckfinder/core/connector/php/connector.php?command=QuickUpload&amp;type=Files';
  config.filebrowserImageUploadUrl = 'hostname/vendor/ckfinder/core/connector/php/connector.php?command=QuickUpload&amp;type=Images';
  config.filebrowserFlashUploadUrl = 'hostname/vendor/ckfinder/core/connector/php/connector.php?command=QuickUpload&amp;type=Flash';
  </code></pre>
  
  <p>But I haven't found a solution.</p>
  
  <p>Can anyone please help me fix that issue? </p>