[AppDB] fix situation when AppDB is not at DocumentRoot (patch 1 of 3) (gah! resend)

Chris Morgan chmorgan at gmail.com
Mon Jul 25 23:01:06 CDT 2005


I ran into the same issue and was in the process of trying to fix it
up.  Maybe this is a better approach because it doesn't require any
user intervention?  The idea was to pass the relative path through
that function to get the full local path.

I can attach the rest of the patch if you'd like but it isn't in a
finished state.

Chris




On 7/23/05, Tony Lambregts <tony.lambregts at gmail.com> wrote:
> These patch are to meant address situations like mine when the AppDB is located
> a http://localhost/appdb instead of http://localhost/. These patches can be
> applied independatly from my other patches.
> 
> Change Log: fix situation when AppDB is not at DocumentRoot.
> 
> Files Changed: include/config.php.sample
> 
> 
> 
> 
> 
> 
> 
> Index: include/config.php.sample
> ===================================================================
> RCS file: /home/wine/appdb/include/config.php.sample,v
> retrieving revision 1.11
> diff -u -r1.11 config.php.sample
> --- include/config.php.sample   23 Apr 2005 02:24:35 -0000      1.11
> +++ include/config.php.sample   23 Jul 2005 22:28:16 -0000
> @@ -17,6 +17,11 @@
>  define("APPDB_OWNER_URL","http://www.winehq.org/"); // website of this product/company
>  define("APPDB_OWNER_EMAIL","appdb at winehq.org"); // e-mail of this product/company
>  define("BUGZILLA_ROOT","http://bugs.winehq.org/"); // path to bugzilla
> +// the following is usefull if the location of your appdb is offset from the
> +// DocumentRoot defined in httpd.config
> +// For example: If you access the appdb from http://localhost/appdb
> +// uncomment the following line .
> +//define("APPDB_OFFSET","/appdb");
> 
> 
>  /*
> 
> 
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: incl.patch
Type: application/octet-stream
Size: 975 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050726/467c824c/incl.obj


More information about the wine-patches mailing list