All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: [mlmmj] Is using the include path for php-admin a good idea?
Date: Sun, 03 Oct 2010 12:54:55 +0000	[thread overview]
Message-ID: <4CA87D1F.6030009@yahoo.com.au> (raw)

Hi, everybody,

A patch was proposed to have conf/tunables.pl searched for in php's
include path.

http://mlmmj.org/bugs/bug.php?id=4

I'm wondering on people's opinions on this. Is it a good idea?

I actually think it probably isn't. On the one hand, even though
conf/tunables.pl is a somewhat generic name, it's a fairly unlikely one,
so name clashes are unlikely to be a problem. On the other hand, though,
using the include path effectively would require setting the include
path (which is a hassle; more so than just moving the tunables.pl file
around), or installing tunables.pl in a system-wide location where it is
likely to be missed for upgrades and so on.

If anything, perhaps we should just move tunables.pl into the same
directory as the PHP scripts that run the interface, dropping the
../conf? It will always be found then.

Thoughts?

Ben.






             reply	other threads:[~2010-10-03 12:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 12:54 Ben Schmidt [this message]
2010-10-03 13:49 ` [mlmmj] Is using the include path for php-admin a good idea? Franky Van Liedekerke
2010-10-03 13:53 ` Franky Van Liedekerke
2010-10-05  9:30 ` Thomas Goirand
2010-10-05 11:24 ` Ben Schmidt
2010-10-05 17:33 ` Thomas Goirand
2010-10-05 23:43 ` Ben Schmidt
2010-10-17 15:39 ` Thomas Goirand
2010-10-17 23:16 ` Ben Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA87D1F.6030009@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.