Added $_SDATA['protocol'] variable in config.ini.php and used it throughout application. Out of the box, the application should detect the current protocol and set it accordingly. CDN-provided SSL such as CloudFlare's Flexible SSL will also be detected and set accordingly.
Other minor updates:
Replaced methods with the same name as their class for future php compatibility
Removed closing php tags from foot of select files per php recommendation
Changed default DB table engine to InnoDB since it became the default storage engine of MySQL and MariaDB at version 5.5
Added $_SDATA['protocol'] variable in config.ini.php and used it throughout application. Out of the box, the application should detect the current protocol and set it accordingly. CDN-provided SSL such as CloudFlare's Flexible SSL will also be detected and set accordingly.
Other minor updates: