7 lines
237 B
PHP
7 lines
237 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
$file = $argv[1] . '/bitrix/.settings.php';
|
|
$params = include $file;
|
|
$params['exception_handling']['value']['debug'] = true;
|
|
file_put_contents($file, "<?php\nreturn " . var_export($params, true) . ';', LOCK_EX);
|