log_to_file and directory creating not work
Hello, i am using Linux HLDS. I want to log my plugins to dynamically created directories like
logs/2006-10 logs/2006-11 logs/2006-12 but function log_to_file can create ONLY file.. Does anybody know ho create this dynamically? I must use this Code:
...Code:
get_time("/addons/amxmodx/logs/CM/%Y-%m/%d.log", filename, 99) Please, help me.. |
Re: log_to_file and directory creating not work
Code:
if(!dir_exists(g_Dir)) |
Re: log_to_file and directory creating not work
thanks it works. Little laborious when check more than one directory, but works
|
Re: log_to_file and directory creating not work
Recursive functions are excellent to walk through a directory structure.
|
| All times are GMT -4. The time now is 04:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.