fork download
  1. <?php
  2. class Boot {
  3. function __construct() {
  4. //$url = explode('/',$_GET['url']);
  5. $url = $_GET['url'];
  6. require 'call.class.php';
  7. if(!isset($url))
  8. {
  9. $this->call = new Call();
  10. $this->call->callFile('index');
  11. }
  12. elseif (isset($url))
  13. {
  14. $this->call = new Call();
  15. $this->call->callFile('index');
  16. }
  17. }
  18. }
  19. $boot = new Boot;
  20. ?>
  21.  
Runtime error #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
Warning: require(call.class.php): failed to open stream: No such file or directory in /home/KzhbtV/prog.php on line 6

Fatal error: require(): Failed opening required 'call.class.php' (include_path='.:/usr/share/php5:/usr/share/php') in /home/KzhbtV/prog.php on line 6