diff options
author | Filipp Lepalaan <filipp@mac.com> | 2011-06-10 10:54:28 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2011-06-10 10:54:28 +0300 |
commit | 50de98d5c364c429dbf67379f774535efad2f319 (patch) | |
tree | 6d17f0a6ed195d15387627f79d105a15501c96bb /asd2nb/server.php | |
parent | 6eff099c73db8d293a9e0e433f66bcfddee7ee3f (diff) | |
download | mtk-50de98d5c364c429dbf67379f774535efad2f319.tar.gz mtk-50de98d5c364c429dbf67379f774535efad2f319.tar.bz2 mtk-50de98d5c364c429dbf67379f774535efad2f319.zip |
Diffstat (limited to 'asd2nb/server.php')
-rw-r--r-- | asd2nb/server.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/asd2nb/server.php b/asd2nb/server.php index 26aaf1a..365364c 100644 --- a/asd2nb/server.php +++ b/asd2nb/server.php @@ -8,18 +8,18 @@ * @package mtk */ + $imgdir = '/data/nb/asd'; // edit this to where your NBI's are kept + + require "plist.php"; + header('Content-Type: text/plain'); - + if (!isset($_REQUEST['m'])) { exit("Sorry, have to know who you are first..."); } - - $imgdir = '/data/nb/asd'; // edit this - + $model = $_REQUEST['m']; - require "plist.php"; - foreach(glob("${imgdir}/*.nbi") as $nbi) { $p = new PropertyList("{$nbi}/NBImageInfo.plist"); |