Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
switch($_SERVER["HTTP_HOST"]){
$DB_KEY = "WK1245";
$U_ID = "PUBLIC";
break;
default:
$DB_KEY = "AJAX";
$U_ID = "TIMUR";
break;
}
$DB_KEY = "AJAX";
$U_ID = "TIMUR";
Какие именно модули Вам нужно прикрутить? Если родные (почта там, команда и прочее), то там прикручивать нечего, закидал папки с модулями в корень и все. Если модули сторонних разработчиков, то сложнее. Могу подсказать, например, как модули от JOrange установить.не нашёл информации, как прикрутить модули к голому магазину, или это нереально?
Т.е. по сути информации никакой.<?xml version="1.0"?>
<WBSAPPLICATION>
<APPLICATION APP_ID="CM" SORTORDER="20" NAME="app_name_long" UI_NAME="app_name_short"/>
</WBSAPPLICATION>
DROP TABLE IF EXISTS CLIST;
CREATE TABLE CLIST (
`CL_ID` int(11) NOT NULL AUTO_INCREMENT,
`CL_NAME` varchar(50) DEFAULT NULL,
`CL_C_ID` int(11) NOT NULL,
`CL_SHARED` smallint(6) DEFAULT '0',
`CL_MODIFYDATETIME` datetime DEFAULT NULL,
`CL_MODIFYCID` int(11) DEFAULT NULL,
`CL_SQL` text NOT NULL,
`CL_SEARCH` text NOT NULL,
PRIMARY KEY (`CL_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS CLIST_CONTACT;
CREATE TABLE CLIST_CONTACT
(
CL_ID INT NOT NULL,
C_ID INT NOT NULL,
CLC_MODIFYDATETIME DATETIME NULL,
CLC_MODIFYUSERNAME VARCHAR(50) NOT NULL,
PRIMARY KEY (CL_ID, C_ID)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS CONTACTNOTE;
CREATE TABLE CONTACTNOTE (
`CN_ID` int(11) NOT NULL AUTO_INCREMENT,
`CN_CID` int(11) NOT NULL,
`CN_TEXT` text NOT NULL,
`CN_CREATECID` int(11) NOT NULL,
`CN_CREATETIME` datetime NOT NULL,
PRIMARY KEY (`CN_ID`),
KEY `CN_CID` (`CN_CID`),
KEY `CN_CREATETIME` (`CN_CREATETIME`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/mywebserver/docs/system/updates/update278.php on line 23
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/mywebserver/docs/system/updates/update286.php on line 164
Fatal error: Uncaught exception 'MySQLException' with message 'Query Error Query: SELECT U.U_ID, U.U_PASSWORD, U.U_STATUS, C.* FROM WBS_USER U LEFT JOIN CONTACT C ON U.C_ID = C.C_ID WHERE U_ID = 'ADMIN' Error: 1146 Message: Table 'fs0_toolsroom.WBS_USER' doesn't exist' in /home/mywebserver/docs/system/lib/model/DbModel.class.php:97 Stack trace: #0 /home/mywebserver/docs/system/lib/model/DbModel.class.php(164 DbModel->run('SELECT U.U_ID, ...', false) #1 /home/mywebserver/docs/system/lib/model/DbStatement.class.php(209 DbModel->query('SELECT U.U_ID, ...') #2 /home/mywebserver/docs/system/lib/model/Users.model.php(23 DbStatement->query(Array) #3 /home/mywebserver/docs/system/lib/entity/User.class.php(129 UsersModel->get('ADMIN') #4 /home/mywebserver/docs/system/packages/wbs/Wbs.php(186 User::getInfo('ADMIN') #5 /home/mywebserver/docs/system/init.php(85 Wbs::loadCurrentUser() #6 /home/mywebserver/docs/published/index.php(3 include_once(' in /home/mywebserver/docs/system/lib/model/DbModel.class.php on line 97