------------------------------------------------------------ revno: 1126 committer: Roger Martin <[email protected]> branch nick: aikiframework timestamp: Tue 2012-03-06 20:30:19 +0100 message: corrections modified: libs/config.php
-- lp:aikiframework https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk Your team Aiki Framework Developers is subscribed to branch lp:aikiframework. To unsubscribe from this branch go to https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/config.php' --- libs/config.php 2012-02-06 20:31:23 +0000 +++ libs/config.php 2012-03-06 19:30:19 +0000 @@ -317,7 +317,7 @@ $parts = $this->selector($selector); // Rules: a given site value 100, a view 10, a language only 1, * cero. - $weight .= + $weight = ( $parts[0] != "*" && $parts[0] != "" ? 100 : 00 ) + ( $parts[1] != "*" && $parts[1] != "" ? 10 : 00 ) + ( $parts[2] != "*" && $parts[2] != "" ? 1 : 00 );
_______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

