local bugfix build

fixed app.php/portal display
fixed if page has ?style=2 or any ? in link as that was breaking the
load scripts
This commit is contained in:
talonos
2016-02-12 18:51:32 +00:00
parent ff37120dae
commit 1e3ef7e64c
64 changed files with 5754 additions and 0 deletions

13
config/routing.yml Normal file
View File

@@ -0,0 +1,13 @@
dmzx_mchat_controller:
path: /mchat
defaults: { _controller: dmzx.mchat.main.controller:page, page: custom }
dmzx_mchat_page_controller:
path: /mchat/{page}
defaults: { _controller: dmzx.mchat.main.controller:page }
requirements:
action: 'archive|rules|whois'
dmzx_mchat_action_controller:
path: /mchat-{action}
defaults: { _controller: dmzx.mchat.main.controller:action }
requirements:
action: 'add|edit|del|clean|refresh|whois'

65
config/services.yml Normal file
View File

@@ -0,0 +1,65 @@
imports:
- { resource: tables.yml }
services:
dmzx.mchat.admin.controller:
class: dmzx\mchat\controller\admin_controller
arguments:
- '@config'
- '@template'
- '@log'
- '@user'
- '@cache'
- '@request'
- '@ext.manager'
- '%core.root_path%'
- '%core.php_ext%'
dmzx.mchat.main.controller:
class: dmzx\mchat\controller\main_controller
arguments:
- '@dmzx.mchat.core'
- '@request'
dmzx.mchat.core:
class: dmzx\mchat\core\mchat
arguments:
- '@dmzx.mchat.functions_mchat'
- '@config'
- '@controller.helper'
- '@template'
- '@user'
- '@auth'
- '@pagination'
- '@request'
- '@dispatcher'
- '%core.root_path%'
- '%core.php_ext%'
dmzx.mchat.functions_mchat:
class: dmzx\mchat\core\functions_mchat
arguments:
- '@config'
- '@user'
- '@auth'
- '@log'
- '@dbal.conn'
- '@cache.driver'
- '%core.root_path%'
- '%core.php_ext%'
- '%dmzx.mchat.table.mchat%'
- '%dmzx.mchat.table.mchat_sessions%'
dmzx.mchat.listener:
class: dmzx\mchat\event\listener
arguments:
- '@dmzx.mchat.functions_mchat'
- '@dmzx.mchat.core'
- '@controller.helper'
- '@user'
- '%core.php_ext%'
tags:
- { name: event.listener }
dmzx.mchat.b3pmchat:
class: dmzx\mchat\b3pmchat
arguments:
- '@config'
- '@template'
tags:
- { name: board3.portal.module }

3
config/tables.yml Normal file
View File

@@ -0,0 +1,3 @@
parameters:
dmzx.mchat.table.mchat: %core.table_prefix%mchat
dmzx.mchat.table.mchat_sessions: %core.table_prefix%mchat_sessions