Changeset 781 for trunk/Application/System.php
- Timestamp:
 - Jan 8, 2016, 11:00:11 PM (10 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/Application/System.php (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Application/System.php
r779 r781 200 200 { 201 201 $Command = $this->CommandLine[$argv[1]]; 202 if(is_string($Command['Callback'][0])) 203 { 204 $Class = new $Command['Callback'][0]($this); 205 $Output = $Class->$Command['Callback'][1](); 206 } else $Output = call_user_func($Command['Callback']); 207 echo($Output); 208 } else echo('Command "'.$argv[1].'" not supported.'."\n"); 209 } else echo('No command was given as parameter'."\n"); 202 $Output = call_user_func($Command['Callback'], $argv); 203 } else $Output = 'Command "'.$argv[1].'" not supported.'."\n"; 204 } else $Output = 'No command was given as parameter'."\n"; 205 echo($Output); 210 206 } 211 207  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  