--- a/include/common.inc.php +++ b/include/common.inc.php @@ -57,13 +57,15 @@ function isDebugServer() { return php_sapi_name() == "cli" || isset($_SERVER['SERVER_NAME']) && ( $_SERVER['SERVER_NAME'] == "azusa" || $_SERVER['SERVER_NAME'] == "vanille" - || $_SERVER['SERVER_NAME'] == "localhost" || $_SERVER['SERVER_NAME'] == "127.0.0.1"); + || $_SERVER['SERVER_NAME'] == "localhost" || $_SERVER['SERVER_NAME'] == "127.0.0.1" || $_SERVER['SERVER_NAME'] == "192.168.1.8"); } include_once ("common-geo.inc.php"); include_once ("common-net.inc.php"); include_once ("common-transit.inc.php"); -include_once ("common-db.inc.php"); +if (!strstr($_SERVER['PHP_SELF'], "feedback")) { + include_once ("common-db.inc.php"); +} include_once ("common-request.inc.php"); include_once ("common-session.inc.php");