Permalink
Browse files

Bug fixes for Nick

Signed-off-by: patlockley <patrick.lockley@googlemail.com>
  • Loading branch information...
1 parent a175c2c commit d8c77aad330911fe0b4d33f7a82678e3ffb1ed56 @pgogy committed Jul 27, 2011
View
@@ -1,4 +1,4 @@
-<?
+<?PHP
$indexes = array();
View
@@ -1,4 +1,5 @@
-<?
+<?PHP
+
function force_download($file)
{
@@ -369,14 +369,14 @@ function export_file(){
function download(){
compile_structure.download = true;
- publish();
+ publish("swf");
}
function preview(){
compile_structure.publish = false;
- publish();
+ publish("swf");
}
@@ -1243,12 +1243,6 @@ function phpfilesopen_stateChanged(){
}
-function cunt(){
-
- open_ted_file("c:\\xampp\\htdocs\\ted\\file1.ted");
-
-}
-
function open_ted_file(filename){
@@ -4,6 +4,4 @@
fwrite($fh, $_POST['file_data']);
fclose($fh);
- print_R($_POST);
-
?>
@@ -1,4 +1,4 @@
-<?
+<?PHP
class gif_engine{
@@ -1,4 +1,4 @@
-<?
+<?PHP
class image_convert{
View
@@ -571,8 +571,12 @@
if(file_exists("../../image_process/" . $file)){
if($file!="."&&$file!=".."){
+
+ //chmod("../../image_process/", 0777);
+
+ //chmod("../../image_process/" . $file, 0777);
- unlink("../../image_process/" . $file);
+ //unlink("../../image_process/" . $file);
}
@@ -179,7 +179,7 @@ function makeswffont($font){
}
- $tempfont = new SWFFont("../../fonts/_sans.fdb");
+ $tempfont = new SWFBrowserFont("../../fonts/_sans.fdb");
return $tempfont;
}

0 comments on commit d8c77aa

Please sign in to comment.