Changeset 31102 for trunk/include/ws_functions.inc.php
- Timestamp:
- Apr 24, 2015, 4:00:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r26461 r31102 206 206 207 207 /** 208 * Writes info to the log file209 */210 function ws_logfile($string)211 {212 global $conf;213 214 if (!$conf['ws_enable_log'])215 {216 return true;217 }218 219 file_put_contents(220 $conf['ws_log_filepath'],221 '['.date('c').'] '.$string."\n",222 FILE_APPEND223 );224 }225 226 /**227 208 * create a tree from a flat list of categories, no recursivity for high speed 228 209 */
Note: See TracChangeset
for help on using the changeset viewer.