From: GitHub <no...@gi...> - 2012-10-01 15:34:22
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: 999854e515b2592840827127978fac40174b02c1 https://github.com/mantisbt/mantisbt/commit/999854e515b2592840827127978fac40174b02c1 Author: Damien Regad <dam...@me...> Date: 2012-10-01 (Mon, 01 Oct 2012) Changed paths: M config_defaults_inc.php Log Message: ----------- Streamline $g_path definition Simplify the code by replacing uses of ternary operator with switch statement and removing unnecessary variable assignments. We now also cover the (admittedly unlikely) scenario where the temporary path is empty, to ensure we always generate a valid path that includes a trailing '/'. |