0) { define('YII_DEBUG', true); if ($aSettings['config']['debug']>1) { error_reporting(E_ALL); // @see https://manual.limesurvey.org/Code_quality_guide#Assertions assert_options(ASSERT_ACTIVE, true); assert_options(ASSERT_WARNING, false); assert_options( ASSERT_CALLBACK, function ($file, $line, $assertion, $message) { throw new Exception("The assertion $assertion in $file on line $line has failed: $message"); } ); } else { error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); } } else { define('YII_DEBUG', false); error_reporting(0); } } else { error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);// Not needed if user don't remove his 'debug'=>0, for application/config/config.php (Installation is OK with E_ALL) } if (version_compare(PHP_VERSION, '5.3.3', '<')) { die('This script can only be run on PHP version 5.3.3 or later! Your version: '.PHP_VERSION.'
'); } require_once __DIR__ . '/third_party/autoload.php'; /* * -------------------------------------------------------------------- * LOAD THE BOOTSTRAP FILE * -------------------------------------------------------------------- * * And away we go... * */ require_once BASEPATH . 'yii' . EXT; require_once APPPATH . 'core/LSYii_Application' . EXT; $config = require_once(APPPATH . 'config/internal' . EXT); Yii::$enableIncludePath = false; Yii::createApplication('LSYii_Application', $config)->run(); /* End of file index.php */ /* Location: ./index.php */