Remove OJS directory web container production

Hello. I have had to maintain a web made of OJS directory whose structure is:

/ var / www / html / name_web / OJS / and here are all the files and folders from OJS. example config.inc.php

I tried to do without that intermediate OJS directory but many things stop working, such as content editor who keeps trying TYNIMCE loaded with name_web.com/OJS route

Is it mandatory that there OJS directory? If it is not mandatory How I can fix it to remove?

greetings
Javier

You should be able to install OJS directly into the document root. If you are trying to move OJS from one webroot to another and TinyMCE is breaking, be aware that there is a cached copy of TinyMCE in a .gz file in the cache/ directory. It contains a hardcoded reference to the (former) path. Try removing this file.