title: How to create modules in Yii framework
body: <p>I can't create modules in yii.I have a parent directory with name <code>jobsite_orginal</code>,it can run by these url <code>localhost/yii/jobsite_orginal/</code>.  </p>
  
  <p>I have created a folder name <code>modules</code> in protected folder of <code>jobsite_orginal</code> directory. After that i have created the folder name <code>supplier</code>. Supplier folder includes the controller,views and components folders and also the file SupplierModule.php.   </p>
  
  <p>I had edited the main file in config folder. After that i run the project with localhost/yii/jobsite_orginal/supplier/site/register<br>
  (register is the action in the conroller site ie in the  supplier module),but i dont get.Anybody help me?</p>
  
  <p>My SupplierModule.php  </p>
  
  <pre><code>&lt;?php
  class SupplierModule extends CWebModule
  {
  public $defaultController = 'Site';
  }
   ?&gt;
  </code></pre>
  
  <p>My config/main.php</p>
  
  <pre><code>    'modules'=&gt;array(
        'supplier'=&gt;array()
  ),
  </code></pre>