This chapter gives an overview of the purpose of some scripts coming with ERW. Its main purpose is to make you able to create a custom portal for access to the ERW editing and customisation pages.
This script is never called during editing. It checks the structure of definition files and custom files, looking for mistakes in array keys, parameter types and so on. It is a fundamental tool, as it is easy to make a typo. For a correct setup it should give no message.
There are two ways to run this script: either you create a symbolic link to it in your document root, and recall it as a URL (e.g., http://example.com/checkERW.php), or you start it from the command line using php -C -f ERW/checkERW.php; in the latter case, your current directory must be your document root. Note that if you installed the ERW directory in a special place, you will have to give the complete path, for instance, php -C -f /usr/share/php/ERW/checkERW.php
It may happen that your custom files contain some special code that
sets some customisations conditionally. Usually this code will not work
when run out of context by checkERW.php. However,
checkERW.php sets a variable named