1
0
mirror of synced 2024-12-01 01:36:06 +03:00
bitrix-module/bin/enable_debugging

7 lines
237 B
Plaintext
Raw Normal View History

2020-11-23 15:38:53 +03:00
#!/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);