1
0
mirror of synced 2024-11-23 22:06:11 +03:00
bitrix-module/bin/enable_debugging

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);