Advertisement
Guest User

MULTICRAFT

a guest
May 31st, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * Copyright © 2010-2017 by xhost.ch GmbH
  5. *
  6. * All rights reserved.
  7. *
  8. **/
  9.  
  10. $yii = dirname(__FILE__).'/protected/yii/yii.php';
  11. $config = dirname(__FILE__).'/protected/config/internal/application.php';
  12.  
  13. // uncomment the following line to enable more detailed error messages
  14. //defined('YII_DEBUG') or define('YII_DEBUG',true);
  15. // how many levels of call stack should be shown in each log message
  16. defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  17.  
  18. if (!@file_exists(dirname(__FILE__).'/protected/config/config.php'))
  19. header('Location: install.php');
  20. else
  21. {
  22. require_once($yii);
  23. Yii::createWebApplication($config)->run();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement