Squiz Matrix
4.12.2
|
+--------------------------------------------------------------——+ | This MySource Matrix CMS file is Copyright (c) Squiz Pty Ltd | | ABN 77 084 670 600 | +--------------------------------------------------------------——+ | IMPORTANT: Your use of this Software is subject to the terms of | | the Licence provided in the file licence.txt. If you cannot find | | this file please contact Squiz (www.squiz.com.au) so we may provide| | you a copy. | +--------------------------------------------------------------——+ set_files_unrestricted.php
Purpose Script to set all files underneath a certain root node to either "restricted" or "unrestricted". Files marked "unrestricted", are of Live status or higher, and have public read permissions are directly through the web server (using the __data alias), instead of being passed through MySource Matrix.
Synopsis php set_files_unrestricted.php <system_root> <root_assetid> <setting>
Change "php" to the appropriate CLI compilation of PHP for your system (eg. sometimes it will be installed to "php-cli" instead).
core