------------------------------------------------------------
revno: 1130
committer: Jakub Jankiewicz <[email protected]>
branch nick: aikiframework
timestamp: Thu 2012-03-08 16:55:32 +0100
message:
  use rg1024 tip about substr
modified:
  libs/aiki.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/aiki.php'
--- libs/aiki.php	2012-03-08 13:08:33 +0000
+++ libs/aiki.php	2012-03-08 15:55:32 +0000
@@ -151,7 +151,7 @@
 			}
 		}
 		if (isset($config['url'])) {
-			if ($config['url'][strlen($config['url'])-1] != '/') {
+			if (substr($config['url'], -1) != '/') {
   				$config['url'] .= '/';
 			}
 		}

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to