debug YT2P handler
This commit is contained in:
		
							parent
							
								
									eb8cc0c77a
								
							
						
					
					
						commit
						355dd0f17b
					
				| 
						 | 
					@ -21,6 +21,9 @@
 | 
				
			||||||
  $cmd = "python3 y2t.py " . $url . " " . $lang ; 
 | 
					  $cmd = "python3 y2t.py " . $url . " " . $lang ; 
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  exec($cmd, $output, $return);
 | 
					  exec($cmd, $output, $return);
 | 
				
			||||||
 | 
					  echo "<h4> Debug strel(output):";
 | 
				
			||||||
 | 
					  echo strlen($output);
 | 
				
			||||||
 | 
					  echo "</h4>";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (strlen($output) > 0) {
 | 
					  if (strlen($output) > 0) {
 | 
				
			||||||
    echo '<h4>Here are your prompts!</h4>';
 | 
					    echo '<h4>Here are your prompts!</h4>';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue