Commit 5640d95b authored by Jonas Haraldsson's avatar Jonas Haraldsson

absolute require_once paths

parent 9e1964cb
......@@ -24,9 +24,9 @@
// force a 1.1 client to give us a session key that can be used by the 1.2 protocol handler, so we only handle handshakes for
// 1.1 then pass all submissions off to the 1.2 handler.
require_once('1.x/auth-utils.php');
require_once('config.php');
require_once('temp-utils.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/config.php');
require_once($install_path . '1.x/auth-utils.php');
require_once($install_path . 'temp-utils.php');
$supported_protocols = array('1.1');
......
......@@ -20,9 +20,9 @@
// Implements the submissions handshake protocol as detailed at: http://www.last.fm/api/submissions
require_once('1.x/auth-utils.php');
require_once('config.php');
require_once('temp-utils.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/config.php');
require_once($install_path . '1.x/auth-utils.php');
require_once($install_path . 'temp-utils.php');
$supported_protocols = array('1.2', '1.2.1');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment