File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11<?php
22defined ('BASEPATH ' ) or exit ('No direct script access allowed ' );
3- if (!function_exists ('bear_basic_header_seo ' )) {
3+ if (!function_exists ('bear_simple_seo_header ' )) {
44 /**
5- * Function bear_basic_header_seo
5+ * Function bear_simple_seo_header
66 *
77 * @param $title
88 * @param $description
99 * @param $image
1010 *
11- * @return mixed
1211 * @author : 713uk13m <dev@nguyenanhung.com>
1312 * @copyright: 713uk13m <dev@nguyenanhung.com>
14- * @time : 23/04/2023 20:20
13+ * @time : 23/04/2023 23:49
1514 */
16- function bear_basic_header_seo ($ title = '' , $ description = '' , $ image = '' )
15+ function bear_simple_seo_header ($ title = '' , $ description = '' , $ image = '' )
1716 {
1817 $ CI =& get_instance ();
1918 $ cms = $ CI ->load ->library ('seo_onpage ' );
20-
21- return $ cms ->seo_onpage ->published ($ title , $ description , $ image );
19+ /** @var \CI_Seo_onpage $seo */
20+ $ seo = $ cms ->seo_onpage ;
21+ $ seo ->published ($ title , $ description , $ image );
2222 }
2323}
You can’t perform that action at this time.
0 commit comments