aboutsummaryrefslogtreecommitdiff
path: root/h-source/Library/Params.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Library/Params.php')
-rw-r--r--h-source/Library/Params.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/h-source/Library/Params.php b/h-source/Library/Params.php
index 001040e..488c8b2 100644
--- a/h-source/Library/Params.php
+++ b/h-source/Library/Params.php
@@ -26,11 +26,14 @@ if (!defined('EG')) die('Direct access not allowed!');
class Params
{
- public static $allowedDb = array('Mysql','Mysqli','None'); //allowed database type
+ //allowed database type
+ public static $allowedDb = array('Mysql','Mysqli','None');
- public static $allowedSanitizeFunc = 'sanitizeAll,sanitizeDb,sanitizeHtml,forceInt,forceNat,none,md5,sha1'; //allowed sanitize functions
+ //allowed sanitize functions
+ public static $allowedSanitizeFunc = 'sanitizeAll,sanitizeDb,sanitizeHtml,forceInt,forceNat,none,md5,sha1';
- public static $allowedHashFunc = array('md5','sha1'); //allowed hash functions
+ //allowed hash functions
+ public static $allowedHashFunc = array('md5','sha1');
//conventional null value for the value of the field in the createWhereClause method of the Model class
public static $nullQueryValue = false;
@@ -46,9 +49,12 @@ class Params
public static $htmlentititiesCharset = DEFAULT_CHARSET;
//list of symbols used in the statements of the where clause of the select queries
- public static $whereClauseSymbolArray = array('<','>','!=','<=','>=','in(','not in(');
+ public static $whereClauseSymbolArray = array('<','>','!=','<=','>=','in(','not in(','like');
//is the mbstring extension enabled?
public static $mbStringLoaded = false;
+ //subfolder of the View folder where to look for view files
+ public static $viewSubfolder = null;
+
} \ No newline at end of file