LoginSignup
0
0

More than 5 years have passed since last update.

CKFinderで参照するフォルダを動的にしたりする(CKEditorとの組み合わせでも同じこと)

Posted at

CKFinderで参照するフォルダを、ユーザーの権限ごとに切り替えたかったので調べた。

公式
http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_resourceTypes

config.phpに関数書ける。

ちょっとハマったのはbaseUrlが/で始まったり始まらなかったり、/で終わったり終わらなかったりすると、getUrl()で取れてくるパスの最初に/がついたりつかなかったりすること。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0