BUG - strstr with before_needle paramater not support before PHP version 5.3.0.  W/A use strpos in a substr

git-svn-id: http://svn.montala.net/svn/resourcespace@4787 c08608d7-6e46-0410-86ca-f2a6f1370df5