Faced such a problem: On the site I use the ckeditor editor, and connected the file manager fileman. The settings for this file manager are in the conf.json file. Here is the problem code:

{ "FILES_ROOT": "public/uploads/", ... 

I set the default directory here. How to do something like this:

 { "FILES_ROOT": "public/uploads/{id}", 

Automatically went into that folder depending on the hash? For example, at this URL: http://mysite.com/id/1001010

    1 answer 1

    If anyone is interested, I found the answer: in the config for example, ask:

     "SESSION_PATH_KEY": "myRoxySession" 

    Further in the controller already:

     $_SESSION["myRoxySession"] = 'public/uploads/ . "$id"'