Closed (fixed)
Project:
Drush Views
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jun 2010 at 12:58 UTC
Updated:
22 Apr 2012 at 20:21 UTC
.view is all well and good, however, there isn't any protection by .htaccess.
There are two solutions here.
Solution 2 is probably the best considering it is in line with views/drupal coding conventions and *.inc files are already disallowed in the drupal root .htaccess file.
I've included a patch for solution 2.
| Comment | File | Size | Author |
|---|---|---|---|
| view-to-inc.patch | 2.64 KB | dstol |
Comments
Comment #1
mavimo commentedI think solution 2 can possible generate some error:
<?phpdeclaration on top of file)Comment #2
pescetti commentedIn the 3.x branch (the only active one) we now allow --output=files|includes|bulk with the following meaning: