/js/index.php removed from OM-20 #2284
-
In this PR #1622 the /js/index.php file was removed only from OM-20. I approved this PR from the wrist without further documenting the reasons. If I look in the source code I see that this file has the following description: /**
* Proxy script to combine and compress one or few files for JS and CSS
*
* Restricts access only to files under current script's folder
* I came to this file by accident checking what OM displays in the browser when accessing all directory in its root. In 1.9.4..x accessing /js displays Was it a good idea to delete this file? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It is better these days to just include each script separately. A few comments:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your comment. I agree with what @fballiano & @youriy say. There is still a small issue the /js directory doesn't have a .htaccess file yet. Should it have one? From a few I see it makes no sense to disable the running of php files since I did not find any in this directory. |
Beta Was this translation helpful? Give feedback.
It is better these days to just include each script separately. A few comments: