...
|
...
|
@@ -127,7 +127,7 @@ class Log { |
|
|
* @time 2024/11/13 15:30
|
|
|
*/
|
|
|
public static function put($filename,$data,$flag=0){
|
|
|
if (!dirname($filename)){
|
|
|
if (!is_dir(dirname($filename))){
|
|
|
@mkdir(dirname($filename),0775,true);
|
|
|
}
|
|
|
@file_put_contents($filename,$data,$flag);
|
...
|
...
|
|