D
D
dk-web2015-09-18 23:13:02
Web development
dk-web, 2015-09-18 23:13:02

Where do you place the vendor folder?

Here's what I ran into ... I set up htaccess and a password for the admin folder .. and I had a vendor folder in it - where all sorts of datatables, fullcalendar, etc. were stored. in principle, they are 99% involved in the admin panel, but the calendar is also displayed on the site itself in one place.
Accordingly, now the connection of styles and js itself requires a password ...
I understand that the question is stupid, but still .. take it out of the admin panel? Or is there a way to do this via htaccess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2015-09-21
@only-victor

From my practice I make two folders:
1. vendor - for php scripts, in which htaccess with the entry: deny from all
2. media - in which css, js, img files for public access

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question