aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ogs/assetserver/index.php
diff options
context:
space:
mode:
authorgareth2007-03-07 18:48:38 +0000
committergareth2007-03-07 18:48:38 +0000
commitb3844c1f7348b4296b5ab1df258935d7f971e412 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /ogs/assetserver/index.php
parent* Updating libsecondlife.dll to the latest version with a working LayerData f... (diff)
downloadopensim-SC_OLD-b3844c1f7348b4296b5ab1df258935d7f971e412.zip
opensim-SC_OLD-b3844c1f7348b4296b5ab1df258935d7f971e412.tar.gz
opensim-SC_OLD-b3844c1f7348b4296b5ab1df258935d7f971e412.tar.bz2
opensim-SC_OLD-b3844c1f7348b4296b5ab1df258935d7f971e412.tar.xz
Deleted old trunk code
Diffstat (limited to 'ogs/assetserver/index.php')
-rw-r--r--ogs/assetserver/index.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/ogs/assetserver/index.php b/ogs/assetserver/index.php
deleted file mode 100644
index ee20229..0000000
--- a/ogs/assetserver/index.php
+++ /dev/null
@@ -1,25 +0,0 @@
1<?
2error_reporting(0); // Remember kids, PHP errors kill XML-RPC responses and REST too! will the slaughter ever end?
3
4include("assetserver_config.inc.php");
5
6// Parse out the parameters from the URL
7$params = str_replace($asset_home,'', $_SERVER['REQUEST_URI']);
8$params = str_replace("index.php/","",$params);
9$params = split('/',$params);
10
11// Die if the key doesn't match
12if($params[1]!=$sim_recvkey) {
13 die();
14}
15
16// Send requested data
17switch($params[0]) {
18 case 'getasset':
19 if($params[3]=="data") {
20 Header("Content-Length: ". (string)filesize($asset_repos . "/" . $params[2] . "/data"));
21 readfile($asset_repos . "/" . $params[2] . "/data");
22 }
23 break;
24}
25?>