lib category get sub categories if there is no cats fixed, in there is no db connection and db_debug off we'll show_error
Merge branch 'template' of github.com:imagecms/ImageCMS into template