Skip to content

Commit

Permalink
php notice を消去
Browse files Browse the repository at this point in the history
  • Loading branch information
tomk79 committed Jan 14, 2015
1 parent 2267274 commit b980a21
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions px-files/_sys/php/commands/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,10 @@ public function __construct( $px ){
* kick
*/
private function kick(){
// print $this->px->pxcmd()->get_cli_header();
// print "\n";
// print 'now under development.'."\n";
// print "\n";
// print $this->px->pxcmd()->get_cli_footer();

$this->command = $this->px->get_px_command();

switch( $this->command[1] ){
switch( @$this->command[1] ){
case 'get':
//各種情報の取得
$this->api_get();
Expand All @@ -80,7 +75,7 @@ private function kick(){
// break;
}

if( !strlen($this->command[1]) ){
if( !strlen( @$this->command[1] ) ){
$this->homepage();
}
$this->error();
Expand Down

0 comments on commit b980a21

Please sign in to comment.