first
This commit is contained in:
19
installer/helpers/MY_form_helper.php
Executable file
19
installer/helpers/MY_form_helper.php
Executable file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Set Value
|
||||
*
|
||||
* We have removed the part using form validation.
|
||||
*
|
||||
* @access public
|
||||
* @param string
|
||||
* @return mixed
|
||||
*/
|
||||
function set_value($field = '', $default = '')
|
||||
{
|
||||
if ( ! isset($_POST[$field]))
|
||||
{
|
||||
return $default;
|
||||
}
|
||||
return form_prep($_POST[$field], $field);
|
||||
}
|
||||
10
installer/helpers/index.html
Executable file
10
installer/helpers/index.html
Executable file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user