Protection of Configuration

for osCommerce Online Merchant v2.2

This contribution adds to the Admin panel a tool to manage the protection status of the configure.php files. In normal use, these files, catalog/includes/configure.php and catalog/admin/includes/configure.php, must be set to "read-only" status to prevent the warning "I am able to write to the configuration file". While the installation instructions say you should "chmod" these files, it leaves the meaning of this unclear to the novice and, on some hosts, one cannot set a file read-only through normal methods. When installed, a "Protection of Configuration" page is added under Tools. This page displays the current protection status of the two configuration files and provides an easy means of changing the status. When you need to make changes to one of the configure.php files, use this tool to temporarily unprotected it so that you can upload a replacement. After replacing the file, go back to the tool and re-protect the file. Support is at Based on osCommerce 2.2-MS2