Optimize check if DB_SERVER is empty
Change while loop with foreach
change getnv to $_SERVER superglobal
Change while loop with foreach and count with !empty
change while loops with foreach
Change while loop with foreach
Change while loop with foreach
Change while loop with foreach
Change getenv('HTTPS') to $_SERVER['HTTPS']

Checking also connection port as on some environments $_SERVER['HTTPS'] can be empty
Merge pull request #25 from acidvertigo/patch-25

Change while loop with foreach
Merge pull request #26 from acidvertigo/patch-26

change getnv to $_SERVER superglobal
Merge pull request #27 from acidvertigo/patch-27

Change while loop with foreach and count with !empty
Merge pull request #28 from acidvertigo/patch-28

change while loops with foreach
Merge pull request #30 from acidvertigo/patch-31

Change while loop with foreach
Merge pull request #31 from acidvertigo/patch-32

Change while loop with foreach
tep_string_to_int as anonymous function

Remove tep_string_to_int function and convert it to anonymous function inside tep_parse_category_path. So in $cPath_array the array_map will call the the anonymous function directly avoiding outside function callback.
Ass strtlower to SERVER HTTPS
Merge pull request #32 from acidvertigo/patch-33

Change getenv('HTTPS') to $_SERVER['HTTPS']
fix TYOP
Fix TYOP