History log of /web-php/include/site.inc (Results 51 – 75 of 314)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 30201446 07-Apr-2009 Philip Olson

Edited sqlite check to include checking of every possible sqlite version


# 255fc995 03-Feb-2009 Hannes Magnusson

Make it possible to run on different ports then 80 (patch by zoe@)


# 78a8a792 08-Jun-2008 Hannes Magnusson

Add more debug info
(Still trying to figure out why some mirrors don't like this)


# a8c1c452 07-Jun-2008 Philip Olson

fix


# b506a2d6 07-Jun-2008 Hannes Magnusson

- Use file_get_contents() if possible
- Set default context if possible (needed for get_headers())


# c1a37615 07-Jun-2008 Philip Olson

oops, context requires php 5+ ...
# /me curses at user-agent headers


# 7f584ca4 07-Jun-2008 Philip Olson

reduced mirror requirement from 5.1 to 4.3 (closes bug #45198)


# 7237aa8f 06-Jun-2008 Hannes Magnusson

Send out user-agent headers


# fc23b9c5 21-Apr-2008 Hannes Magnusson

Add compatibility function for file_get_conents() and get_headers()


# 4b2d0dc2 21-Feb-2006 Rasmus Lerdorf

These are the two most accessed file. Remove the bad habit of always
using include_once when all of these files are only ever included from
here and these files themselves are only ever incl

These are the two most accessed file. Remove the bad habit of always
using include_once when all of these files are only ever included from
here and these files themselves are only ever included once.

show more ...


# d61d17e2 10-May-2005 foobar

HTTP_HOST -> SERVER_NAME (they said it is safe..)


# e8ae1f70 16-Aug-2003 Gabor Hojtsy

Drop the need to specify that a redirection is really external, as
this is already in the first parameter. If there is a protocol part,
then it is external. Reflect this change in the errorha

Drop the need to specify that a redirection is really external, as
this is already in the first parameter. If there is a protocol part,
then it is external. Reflect this change in the errorhandler too.

show more ...


# b1b69cca 16-Aug-2003 Gabor Hojtsy

Be a bit more kind to those who run non-official mirror sites
for some reason (like I do for testing stuff :), and allow setting
of My PHP.net settings on these sites too. But do notify users

Be a bit more kind to those who run non-official mirror sites
for some reason (like I do for testing stuff :), and allow setting
of My PHP.net settings on these sites too. But do notify users
that unofficial mirror site settings are not goint to carried to the
official mirror sites.

show more ...


# 9b5bf7a1 13-Aug-2003 Gabor Hojtsy

Make the different mirror data returning functions E_NOTICE safe


# 9a5cd6b5 13-Jul-2003 Gabor Hojtsy

Implement some more general handling of the base
parameter, to support the usage of webpage shortcuts
without redirections in the future

Also keep the two old base handling methods,

Implement some more general handling of the base
parameter, to support the usage of webpage shortcuts
without redirections in the future

Also keep the two old base handling methods, until they
can be replaced by this general one

show more ...


# eab7a75a 24-May-2003 Gabor Hojtsy

Comment the BC code for pre 4.1.0 mirrors as we have
them disabled now, so autoglobal vars should work on
all mirrors without special preparation

Use $_SERVER['DOCUMENT_ROOT'] for in

Comment the BC code for pre 4.1.0 mirrors as we have
them disabled now, so autoglobal vars should work on
all mirrors without special preparation

Use $_SERVER['DOCUMENT_ROOT'] for includes
instead of a user defined constant, as the docroot
value is always available [even before prepend.inc]
This ensures consistency and causes no stat() calls

Add myphpnet_...() functions to load, get/set and save
the user preferences, and use them everywhere. This
enables us to easily add new preferences to the same
cookie. Every preference will last for a year this way,
and the cookie will only be set again, if someone
modifies his data on my.php

If this works nicely, then we can easily add a preferred
mirror site setting (and more)

[These changes seem to work on my local mirror]

show more ...


# 19d61966 23-May-2003 Ilia Alshanetsky

Optimized include logic.

# As it now stands phpweb uses EXTREMELY inefficient way of including files
# by relying on the include_path parameter. Which causes at least 2 useless
# sta

Optimized include logic.

# As it now stands phpweb uses EXTREMELY inefficient way of including files
# by relying on the include_path parameter. Which causes at least 2 useless
# stat() calls for every include. By prefixing all includes & requires for
# files from include/ with the __PHPWEB_INC_PATH__ constants this is avoided.

show more ...


# 661cd648 17-May-2003 Gabor Hojtsy

Add new mirror_setcookie() function to set
a cookie for all mirror sites, and use it for
country and last language cookies set by our
code

Also add code to remember the last sear

Add new mirror_setcookie() function to set
a cookie for all mirror sites, and use it for
country and last language cookies set by our
code

Also add code to remember the last search term
and selected search option in a cookie (JS code
will come to handle this on the client side)

show more ...


# 76567d81 03-May-2003 Gabor Hojtsy

Ups, only count active mirrors


# caeee06f 03-May-2003 Gabor Hojtsy

Add a function to count mirrors in a given country


# 499c949b 03-May-2003 Gabor Hojtsy

Add a header_nocache() function instead of repeaing
the same headers on all pages where this is needed


# e64aa2af 01-May-2003 Gabor Hojtsy

No need for the MIRROR_ constants, as
they are always defined in mirrors.inc

Also remove the ending ?> for header() safety
reasons


# c56c9424 06-Mar-2003 Gabor Hojtsy

Fallback to "en" in case the language set by mirror site (or provided by
master.php.net is not supported)


# 196a7f04 01-Mar-2003 Gabor Hojtsy

Integrate the langauge chooser to the main site flow, and update the
documentation pages to use the new $LANG var to display documentation
download pages "customized" to the user

Thi

Integrate the langauge chooser to the main site flow, and update the
documentation pages to use the new $LANG var to display documentation
download pages "customized" to the user

This also makes preferred_language()'s remove, as $LANG is perfect for
this purpose...

show more ...


# fad5d896 19-Jan-2003 Gabor Hojtsy

Override central stats setting if local vhost setting is specified

Add new is_official_mirror function to query if this is a registered
mirror site


12345678910>>...13