[wp-hackers] Have all Die messages and other stuff that cant' be gettexted centralized

Robin Adrianse shorty114 at shorty114.net
Sat Dec 2 19:08:51 GMT 2006


Yes, but what if the file isn't there, because the user uploaded the files
incorrectly? Say we die because we have no wp-config.php, why fail another
file opening?

On 12/2/06, Stefano <steagl at people.it> wrote:
>
> On Sat, 2 Dec 2006 09:31:09 -0800, "Robin Adrianse"
> <shorty114 at shorty114.net> wrote:
>
> >Well, when you die() something, it's usually because a major part of WP
> >failed -- e.g. no wp-config.php file, database issues, etc. I don't think
> it
> >would be worth it to open another file, since the die() is to stop the
> >script *now* in case all hell breaks loose.
>
> Befori dieing we need to open a text file and rea a certain line to
> get the message, there is anything unsercure in it neither we are
> going to load more code, all the code needed will be inserted before
> the die statement.
>
> --
>
> Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
> Email: steve at 40annibuttati.it steagl at people.it
> Sites: http://www.40annibuttati.it (personal blog)
>        http://www.wordpress-it.it (WordPress Italia)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list