Changeset 366 for trunk/Common


Ignore:
Timestamp:
Jan 19, 2012, 7:55:45 AM (14 years ago)
Author:
chronos
Message:
  • Opraveno: Navigační odkazy v modulu Finance, Network a FrontPage.
Location:
trunk/Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Global.php

    r364 r366  
    1414include_once('Module.php');
    1515include_once('Model.php');
    16 include_once('finance/bills.php');
    17 include_once('finance/finance.php');
    1816 
    1917$PrefixMultipliers = array
     
    207205  $System->Init();
    208206  if(isset($_SERVER['REMOTE_ADDR'])) $System->Models['User']->Check();
    209   $System->AddModule(new Bill());
    210   $System->AddModule(new Finance());
    211   $System->Modules['Finance']->LoadMonthParameters(0);
    212207}
    213208
  • trunk/Common/Module.php

    r364 r366  
    142142          'Version' => $Module->Version, 'Creator' => $Module->Creator,
    143143          'Description' => $Module->Description, 'License' => $Module->License,
    144           'Installed' => 0, 'Dependecies' => implode(',', $Module->Dependencies)));
     144          'Installed' => 0, 'Dependencies' => implode(',', $Module->Dependencies)));
    145145        unset($Module);
    146146      } else throw new Exception('Missing class '.$ModuleClassName.' in module '.$ModuleName);
Note: See TracChangeset for help on using the changeset viewer.