[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to learn how to package a software



--- Roberto C. Sánchez <roberto@connexer.com> escreveu:

> On Tue, Nov 13, 2007 at 09:18:08PM -0300, Jean Silva wrote:
> >     I tried to put db in /var/cache/pivot-weblog/db/ and the
> > rest of the directories in /usr/share/pivot-weblog/.  However,
> > there are some scripts in the pivot directory that manage the
> > information stored in db and refer to files inside it using 
> > relative paths.  For exaple, from pv_core.php:
> >     if (file_exists("db/ser_lasttrack.php"))
> >     I'd like knowing if there is a way to make pv_core.php
> > access the directory /var/cache/pivot-weblog/db/ without
> > writing the full path in the source code.  Any suggestion?
> >     Thanks in advance.
> > 
> One way is a symlink: /usr/share/pivot-weblog/db ->
> /var/cache/pivot-weblog/db/

    Thanks, Roberto. I'll try it.
    Regards,
    Jean.



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/



Reply to: