Skip to content

Commit

Permalink
Bug fixes for Nick
Browse files Browse the repository at this point in the history
Signed-off-by: patlockley <patrick.lockley@googlemail.com>
  • Loading branch information
pgogy committed Jul 27, 2011
1 parent a175c2c commit d8c77aa
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion array.php
@@ -1,4 +1,4 @@
<? <?PHP


$indexes = array(); $indexes = array();


Expand Down
3 changes: 2 additions & 1 deletion download.php
@@ -1,4 +1,5 @@
<? <?PHP

function force_download($file) function force_download($file)
{ {


Expand Down
10 changes: 2 additions & 8 deletions javascript/php_files.js
Expand Up @@ -369,14 +369,14 @@ function export_file(){
function download(){ function download(){


compile_structure.download = true; compile_structure.download = true;
publish(); publish("swf");


} }


function preview(){ function preview(){


compile_structure.publish = false; compile_structure.publish = false;
publish(); publish("swf");


} }


Expand Down Expand Up @@ -1243,12 +1243,6 @@ function phpfilesopen_stateChanged(){


} }


function cunt(){

open_ted_file("c:\\xampp\\htdocs\\ted\\file1.ted");

}



function open_ted_file(filename){ function open_ted_file(filename){


Expand Down
2 changes: 0 additions & 2 deletions php/filehandling/save_ted_file.php
Expand Up @@ -4,6 +4,4 @@
fwrite($fh, $_POST['file_data']); fwrite($fh, $_POST['file_data']);
fclose($fh); fclose($fh);


print_R($_POST);

?> ?>
2 changes: 1 addition & 1 deletion php/gif/gif_engine.php
@@ -1,4 +1,4 @@
<? <?PHP


class gif_engine{ class gif_engine{


Expand Down
2 changes: 1 addition & 1 deletion php/gif/image_convert.php
@@ -1,4 +1,4 @@
<? <?PHP


class image_convert{ class image_convert{


Expand Down
6 changes: 5 additions & 1 deletion php/ming/engine.php
Expand Up @@ -571,8 +571,12 @@
if(file_exists("../../image_process/" . $file)){ if(file_exists("../../image_process/" . $file)){


if($file!="."&&$file!=".."){ if($file!="."&&$file!=".."){

//chmod("../../image_process/", 0777);

//chmod("../../image_process/" . $file, 0777);


unlink("../../image_process/" . $file); //unlink("../../image_process/" . $file);


} }


Expand Down
2 changes: 1 addition & 1 deletion php/ming/ted_engine.php
Expand Up @@ -179,7 +179,7 @@ function makeswffont($font){


} }


$tempfont = new SWFFont("../../fonts/_sans.fdb"); $tempfont = new SWFBrowserFont("../../fonts/_sans.fdb");
return $tempfont; return $tempfont;


} }
Expand Down

0 comments on commit d8c77aa

Please sign in to comment.