[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: WebSVN configuration: allowDownloads

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-07-31 18:02:40 CEST

On 28.07.2005, at 12:48, Lutz Frommberger wrote:

> I hope I can ask a question regarding WebSVN.

While some of us may have used WebSVN, it's not this list's focus, so
it would be best in the future to ask such questions on a WebSVN-
specific list:

http://websvn.tigris.org/servlets/ProjectMailingListList

> I want to restrict the use of the download option on some
> repositories. There is an option in the config file:
>
> ---snip---
> // To change the global option for individual repositories, uncomment
> // and replicate the required line below (replacing 'myrep' for the
> // name of the repository to be changed).
>
> $config->findRepository("myrep")->allowDownload();
> ---snap---
>
> But I did not manage to find out what I have to replace "myrep" with.
> Everything I tried up to now (Repository name, Path, with and
> without ")
> failed and brought
>
> Parse error: parse error, unexpected T_OBJECT_OPERATOR in
> /etc/websvn/config.inc on line 176

The syntax $instance->method()->method() is only available as of
PHP5. The error you got would be produced if you used PHP4.

I can find no system requirements listed on their page or within the
WebSVN package. Somehow I don't think they intended for it to require
PHP5. Maybe you should bring this up on one of their lists and see
what they say.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 31 18:04:43 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.