Ignore:
Timestamp:
Apr 14, 2015, 10:16:16 PM (10 years ago)
Author:
chronos
Message:
  • Added: Experimental models internal database structure regeneration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/System.php

    r730 r737  
    179179    if($this->Setup->CheckState())
    180180    {
    181       $this->ModuleManager->Start();   
    182     }
    183   }
    184  
     181      $this->ModuleManager->Start();
     182    }
     183  }
     184
    185185  function Run()
    186186  {
     
    196196  {
    197197        global $argv;
    198        
     198
    199199        $this->RunCommon();
    200         if(count($argv) > 1) 
     200        if(count($argv) > 1)
    201201        {
    202202      if(array_key_exists($argv[1], $this->CommandLine))
     
    206206              {
    207207                $Class = new $Command['Callback'][0]($this);
    208                 $Output = $Class->$Command['Callback'][1]();           
     208                $Output = $Class->$Command['Callback'][1]();
    209209              } else $Output = call_user_func($Command['Callback']);
    210210              echo($Output);
    211       } else echo('Command "'.$argv[1].'" not supported.'."\n");       
     211      } else echo('Command "'.$argv[1].'" not supported.'."\n");
    212212        } else echo('No command was given as parameter'."\n");
    213213  }
    214  
     214
    215215  function RegisterCommandLine($Name, $Callback)
    216216  {
    217217        $this->CommandLine[$Name] = array('Name' => $Name, 'Callback' => $Callback);
    218218  }
    219  
     219
    220220  function RegisterPageBar($Name)
    221221  {
Note: See TracChangeset for help on using the changeset viewer.