Skip to content

Commit

Permalink
closed #25
Browse files Browse the repository at this point in the history
  • Loading branch information
yupe committed Aug 1, 2012
1 parent bb0cc67 commit 588c099
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion install_ru.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Через phpmyadmin (или что-то похожее) залить основной файл дампа (/yt/protected/modules/install/data/yupe.sql)https://github.com/yupe/yupe/blob/master/protected/modules/install/data/yupe.sql
- Выполнить скрипт https://github.com/yupe/yupe/blob/master/protected/modules/install/data/db/yupe_init.sql для создания учетной записи администратора (логин: admin@admin.ru, пароль: 123456)
Автоматическая установка
- Запустить установщик http://localhost/yt/index.php/install
- Запустить установщик http://localhost/yt/index.php/install/default/
- Следовать инструкциям установщика
После установки
- Сообщать об ошибках и замечаниях
Expand Down
26 changes: 13 additions & 13 deletions protected/config/db.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
return array (
'class' => 'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=yupe',
'username' => 'root',
'password' => 'root',
'emulatePrepare' => true,
'charset' => 'utf8',
'enableParamLogging' => 1,
'enableProfiling' => 1,
'schemaCachingDuration' => 108000,
'tablePrefix' => '',
) ;
<?php
return array (
'class' => 'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=ytt',
'username' => 'root',
'password' => 'root',
'emulatePrepare' => true,
'charset' => 'utf8',
'enableParamLogging' => 1,
'enableProfiling' => 1,
'schemaCachingDuration' => 108000,
'tablePrefix' => '',
) ;
?>
2 changes: 1 addition & 1 deletion protected/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

'sourceLanguage' => 'ru',
// тема оформления по умолчанию
'theme' => 'mg',
'theme' => 'default',
// preloading 'log' component
'preload' => array( 'log' ),
// подключение путей
Expand Down
9 changes: 5 additions & 4 deletions protected/modules/install/data/yupe.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Хост: localhost
-- Время создания: Авг 01 2012 г., 14:34
-- Время создания: Авг 01 2012 г., 14:44
-- Версия сервера: 5.5.24
-- Версия PHP: 5.3.10-1ubuntu3.2

Expand All @@ -17,7 +17,7 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8 */;

--
-- База данных: `mg`
-- База данных: `ytt`
--

-- --------------------------------------------------------
Expand Down Expand Up @@ -235,6 +235,7 @@ CREATE TABLE IF NOT EXISTS `good` (
`description` text NOT NULL,
`alias` varchar(100) NOT NULL,
`data` text,
`is_special` tinyint(1) NOT NULL DEFAULT '0',
`status` smallint(1) unsigned NOT NULL DEFAULT '1',
`create_time` datetime NOT NULL,
`update_time` datetime NOT NULL,
Expand Down Expand Up @@ -565,7 +566,7 @@ CREATE TABLE IF NOT EXISTS `settings` (
`user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `moduleId` (`module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=564 ;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=568 ;

-- --------------------------------------------------------

Expand Down Expand Up @@ -617,7 +618,7 @@ CREATE TABLE IF NOT EXISTS `user` (
UNIQUE KEY `user_email_unique` (`email`),
KEY `user_status_index` (`status`),
KEY `email_confirm` (`email_confirm`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=86 ;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=87 ;

-- --------------------------------------------------------

Expand Down

0 comments on commit 588c099

Please sign in to comment.