index.php 326 B

12345678910111213
  1. <?php
  2. require_once('../../src/Qii.php');
  3. $app = \Qii::getInstance();
  4. $app->setWorkspace('../private')
  5. ->setCachePath('tmp')
  6. ->setAppConfigure('configure/app.ini')
  7. ->setUseNamespace('Bootstrap', false)
  8. ->setLoger('plugins\loger')
  9. ->setDB('configure/db.ini')
  10. ->setRouter('configure/router.config.php')
  11. ->setBootstrap()
  12. ->run();