Ignore:
Timestamp:
Jan 6, 2016, 11:01:30 PM (9 years ago)
Author:
chronos
Message:
  • Moved: Application, Base and AppModule to Common Package.
  • Modified: Main application class renamed to Core.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/AppModule.php

    r778 r779  
    190190  var $System;
    191191  var $FileName;
     192  var $ModulesDir;
    192193  var $OnLoadModules;
    193194
     
    197198    $this->System = &$System;
    198199    $this->FileName = 'Config/Modules.php';
     200    $this->ModulesDir = dirname(__FILE__).'/../../Modules';
    199201  }
    200202
     
    364366    if(method_exists($this->OnLoadModules[0], $this->OnLoadModules[1]))
    365367      $this->OnLoadModules();
    366     else $this->LoadModulesFromDir(dirname(__FILE__).'/../Modules');
    367   }
    368 }
     368    else $this->LoadModulesFromDir($this->ModulesDir);
     369  }
     370}
Note: See TracChangeset for help on using the changeset viewer.