[pLog-svn] r3421 - plog/trunk/class/net
Jon Daley
plogworld at jon.limedaley.com
Mon May 15 11:51:03 GMT 2006
The regexp is wrong, the hyphen has to be escaped, or be last.
'{albumname}' => '([_0-9a-zA-Z -]*)?
On Mon, 15 May 2006, pwestbro at devel.lifetype.net wrote:
> Author: pwestbro
> Date: 2006-05-15 04:42:30 +0000 (Mon, 15 May 2006)
> New Revision: 3421
>
> Modified:
> plog/trunk/class/net/linkparser.class.php
> Log:
> Fixed a bug when using the custom url format, the root album page would not
> be viewable. So now when no album name is specified, the root album is shown.
>
>
> Modified: plog/trunk/class/net/linkparser.class.php
> ===================================================================
> --- plog/trunk/class/net/linkparser.class.php 2006-05-14 20:28:31 UTC (rev 3420)
> +++ plog/trunk/class/net/linkparser.class.php 2006-05-15 04:42:30 UTC (rev 3421)
> @@ -38,7 +38,7 @@
> '{resourceid}' => '([0-9]+)?',
> '{resourcename}' => '([_0-9a-zA-Z-. \(\)\[\]]+)?',
> '{albumid}' => '([0-9]+)?',
> - '{albumname}' => '([_0-9a-zA-Z- ]+)?'
> + '{albumname}' => '([_0-9a-zA-Z- ]*)?'
> );
>
> var $_linkFormat;
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
**************************************
Jon Daley
http://jon.limedaley.com/
I used to think I was indecisive, but now I'm not sure
More information about the pLog-svn
mailing list