Method code to realize the statistical effect of running days of Z-Blog blog

Channel: Technical Tutorial Date: Browse: 281
By default, the z-blog system carries statistics on the total number of articles, comments, references, browses, and messages, but there is no statistics on the number of running days of z-blog blogs since they were installed to the present day. Therefore, to achieve the statistics on the number of running days of z-blog, you must manually add them

The blog comment content cannot be empty or too long

Channel: Technical Tutorial Date: Browse: 254
Two days ago, after finishing the v5_boke8 topic, I uploaded it to the zblog blog for installation test. During the comment test, the error prompt "Error reason: the comment content cannot be empty or too long" tragically appeared when I submitted the comment. But fortunately, after all, it was imitated to ZBlog