CakePHP standards: comparisons, functions call

Additionnally, fixed a typo in config files.