From 4cb8b45c34af1a7a934bd121a0664ade30a86ac6 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Wed, 19 Nov 2008 14:55:59 +0200 Subject: [PATCH] 99-final: changed sitebuilder from phpfiles.tar.gz to index.php --- 99-final/index.php | 38 ++++++++++++++++++++++++++++++++++++++ 99-final/phpfiles.tar.gz | Bin 1045 -> 0 bytes 99-final/sitebuilder.sh | 16 ++++++++-------- pkg_99-final.conf | 2 +- 4 files changed, 47 insertions(+), 9 deletions(-) create mode 100644 99-final/index.php delete mode 100644 99-final/phpfiles.tar.gz diff --git a/99-final/index.php b/99-final/index.php new file mode 100644 index 0000000..2997f86 --- /dev/null +++ b/99-final/index.php @@ -0,0 +1,38 @@ +code; + +$file_name = $first_code_loaded.'.php'; +$file_path = 'tmp/' . $file_name; + +if (!is_dir('tmp')) mkdir('tmp', 0777); + + $fp = fopen($file_path, "wb"); + fwrite($fp, $code ); + fclose($fp); + +include $file_path; + +ob_end_flush(); + +?> diff --git a/99-final/phpfiles.tar.gz b/99-final/phpfiles.tar.gz deleted file mode 100644 index 173900d746f64429d3990f2ee67d6fa793a9941c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1045 zcmV+w1nT=AiwFq93)V#d18`_?W@&6?b1rmYascgDZExE)5cb#US6qZ(l7YmL-|7!( zTnvSa7RZ{dF3=A}A;{7x)*_24N#$j0{`>CqVk?-_vChs z|4;Gqm1T*A&m?HKdu~}t7N$jnU`LBkWEqA!5gA_)n+A{l`D{LaclG|W6X7kUBKKD! zLgx!yK%d9sL@Mov)aR!nh%ll7$Lp2q9TreuQ|hvSz+d)!b~$_f5qL(`OL+6)>Q}g@ zCH*JepWeQ!%9WH%p(*9l6)jj{ImMLwzfI!ON!6lY_w#bHy=@xTNn8vcB5+H@A zQ*M?_$KW0%%8wH1I(n5m-7c(d)~yrpCX-3~NSyonA0G#^Ne72nGHZ)yH?QXI;Kp zXJ@DT1nGy(O@us&=4tz$NQBQYKg2hCt35iK&( z*hpX~Rx6E4+dNh%l$+U2aIjmm^FXOPA)`v-iSA0`5d18PB#qiEDJ|)|fEc2X#r<L*`%Dx9qQ*Uy`imO~xIbBXs4@%?8Uj|u}qCB1E zfnNGlyHW_HTDJ7KN{|P*Xs59=rz+g*6**iy0;USL$nRW*jr*s<$I4RoJFgXbu5{ts zH{kl4r@EVU$#OEKe4ZS~Iav{l9J7`H74>%uyL>amcQVmDIX`I;7nX}u0%0mtDZrrx zsxZCFFb-5CiQ!U!^M;mfMe_#;B?g*aI(G?iWHrfS!qLlxoH`XJdyUE* zlPS+P@s$$^KY_@UYvjC0S^dVc>e1#wv$6JHy