@@ -7,10 +7,13 @@ |
||
| 7 | 7 | * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -if (php_sapi_name() !== 'cli') // security precaution: forbit calling as web-page |
|
| 10 | +if (php_sapi_name() !== 'cli') |
|
| 11 | +{ |
|
| 12 | + // security precaution: forbit calling as web-page |
|
| 11 | 13 | { |
| 12 | 14 | die('<h1>test-cli.php must NOT be called as web-page --> exiting !!!</h1>'); |
| 13 | 15 | } |
| 16 | +} |
|
| 14 | 17 | |
| 15 | 18 | ini_set('apc.enable_cli', true); |
| 16 | 19 | |