When using Baidu Editor, I found that when adding attachments, there is an "online attachment" where you can see all attachments uploaded before.
But I only want users to see the attachments they have uploaded, not the attachments uploaded by everyone. How should I achieve this?
In addition, it seems that the "Online Management" of "Multiple Picture Upload" also has this situation.
When using Baidu Editor, I found that when adding attachments, there is an "online attachment" where you can see all attachments uploaded before.
But I only want users to see the attachments they have uploaded, not the attachments uploaded by everyone. How should I achieve this?
In addition, it seems that the "Online Management" of "Multiple Picture Upload" also has this situation.
http://fex.baidu.com/ueditor/#server-php
http://fex.baidu.com/ueditor/#dev-request_specification
Judge the session in controller.php
Note that there is no session when uploading flash
Thanks for the answer upstairs.
I found the answer, there are these lines of code in controller.php:
<code> /* 列出图片 */ case 'listimage': $result = include("action_list.php"); break; /* 列出文件 */ case 'listfile': $result = include("action_list.php"); break; </code>
Just comment them out, or comment out the code of action_list.php.
I chose to make as few changes as possible and added exit();
at the front of action_list.php