@@ -119,7 +119,7 @@ function phpcaselog($ret_val, $msg, $file = '', $line = ''){
119119}
120120
121121function mkdirs ($ strPath , $ mode = '0755 ' ){
122- if (isset ($ strPath ) && $ strPath != "" ){
122+ if (isset ($ strPath ) && $ strPath != '' ){
123123 //* Verzeichnisse rekursiv erzeugen
124124 if (is_dir ($ strPath )){
125125 return true ;
@@ -236,17 +236,17 @@ function find_includes($file){
236236 $ lines = explode ("\n" , $ inhalt );
237237 if (!empty ($ lines )){
238238 foreach ($ lines as $ line ){
239- if (stristr ($ line , " include " )){
240- $ include_file = str_replace ("\n" , "" , trim (shell_exec ("echo \"$ line \" | awk '{print \$2}' " )));
241- if (substr ($ include_file ,0 ,1 ) != " / " ){
242- $ include_file = $ httpd_root ." / " .$ include_file ;
239+ if (stristr ($ line , ' include ' )){
240+ $ include_file = str_replace ("\n" , '' , trim (shell_exec ("echo \"$ line \" | awk '{print \$2}' " )));
241+ if (substr ($ include_file ,0 ,1 ) != ' / ' ){
242+ $ include_file = $ httpd_root .' / ' .$ include_file ;
243243 }
244244 if (is_file ($ include_file )){
245245 if ($ further_includes = find_includes ($ include_file )){
246246 $ includes = array_merge ($ includes , $ further_includes );
247247 }
248248 } else {
249- if (strstr ($ include_file , " * " )){
249+ if (strstr ($ include_file , ' * ' )){
250250 $ more_files = explode ("\n" , shell_exec ("ls -l $ include_file | awk '{print \$9}' " ));
251251 if (!empty ($ more_files )){
252252 foreach ($ more_files as $ more_file ){
0 commit comments