コード例 #1
0
ファイル: XLite.php プロジェクト: kewaunited/xcart
 /**
  * Defines the installation language code
  *
  * @return string
  */
 public static function getInstallationLng()
 {
     return \Includes\Utils\ConfigParser::getInstallationLng();
 }
コード例 #2
0
ファイル: ErrorHandler.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Check if LC is installed
  *
  * @return void
  */
 public static function checkIsLCInstalled()
 {
     if (!\Includes\Utils\ConfigParser::getOptions(array('database_details', 'database'))) {
         $link = \Includes\Utils\URLManager::getShopURL('install.php');
         $message = \Includes\Utils\ConfigParser::getInstallationLng() === 'ru' ? '<a href="' . $link . '">Запустите установку магазина</a>' : '<a href="' . $link . '">Click here</a> to run the installation wizard.';
         static::showErrorPage(self::ERROR_NOT_INSTALLED, $message);
     }
 }