1111defined ('PH7 ' ) or exit ('Restricted access ' );
1212
1313/**
14- * @desc Detect the user's preferred language.
14+ * Detect the user's preferred language.
15+ *
1516 * @return string The first two lowercase letter of the browser language.
1617 */
1718function get_browser_lang ()
@@ -21,7 +22,8 @@ function get_browser_lang()
2122}
2223
2324/**
24- * @desc Display a page if the file exists, otherwise displays a 404.
25+ * Display a page if the file exists, otherwise displays a 404.
26+ *
2527 * @param string $sPage The page.
2628 * @return void
2729 */
@@ -39,7 +41,8 @@ function get_page($sPage)
3941}
4042
4143/**
42- * @desc Parse the text to transform variable.
44+ * Parse the text to transform variable.
45+ *
4346 * @param string $sContent The text.
4447 * @return string The text parsed.
4548 */
@@ -58,7 +61,8 @@ function parse_var($sContent)
5861}
5962
6063/**
61- * @desc Get the page name.
64+ * Get the page name.
65+ *
6266 * @return string
6367 */
6468function get_page_name ()
@@ -117,7 +121,8 @@ function get_current_url()
117121}
118122
119123/**
120- * @desc Check if the language folder and the language core folder exists.
124+ * Check if the language folder and the language core folder exists.
125+ *
121126 * @return string The language available.
122127 */
123128function set_lang ()
@@ -144,7 +149,8 @@ function set_lang()
144149}
145150
146151/**
147- * @desc Escape function with htmlspecialchars() PHP function.
152+ * Escape function with htmlspecialchars() PHP function.
153+ *
148154 * @return string
149155 */
150156function escape ($ sVal )
@@ -153,7 +159,8 @@ function escape($sVal)
153159}
154160
155161/**
156- * @desc Sets an error 404 page with HTTP 404 code status.
162+ * Sets an error 404 page with HTTP 404 code status.
163+ *
157164 * @return void
158165 */
159166function error_404 ()
0 commit comments