Kinda badly named function...maybe it should be named "Truncate config file and render CRM system unusable"
I have done this three times, and it truncates the config file every time.
This is what the tail end of the config file looks like after the function has been used:
---
[root@kremlin html]# tail config.php
9 => 'js',
10 => 'vbs',
11 => 'html',
12 => 'htm',
),
'upload_dir' => 'cache/upload/',
'upload_maxsize' => 3000000,
'use_php_code_json' => true,
'use_real_names' => true,
'verify_client_ip' => f[root@kremlin html]#
---
As you can see, there is not even a carriage return after the "f" on the verify_client_ip parameter.
If I manually fix it up like so:
---
[root@kremlin html]# tail config.php
12 => 'htm',
),
'upload_dir' => 'cache/upload/',
'upload_maxsize' => 3000000,
'use_php_code_json' => true,
'use_real_names' => true,
'verify_client_ip' => false,
)
?>
---
my system starts working again...
What's going on here?
I asked about this when I first installed the system, and no one seemed to think there was a real issue here. I can now truncate my config file easily EVERY time I use the "rebuild" function...
cheers
Rob


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks