ComunicWeb/corePage/config/dev.config.php

164 lines
5.0 KiB
PHP
Raw Normal View History

2017-01-04 18:14:27 +00:00
<?php
/**
* PHP dev config for the website
*
* @author Pierre HUBERT
*/
//Path to assets
$config['pathAssets'] = $config['siteURL']."assets/";
2017-01-04 18:14:27 +00:00
//CSS files to include
$config['CSSfiles'] = array(
//CSS files - adminLTE distribution / bootstrap / plugins
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/bootstrap/css/bootstrap.min.css",
"%PATH_ASSETS%3rdparty/adminLTE/plugins/font-awesome/css/font-awesome.min.css",
"%PATH_ASSETS%3rdparty/adminLTE/plugins/ionicons/css/ionicons.min.css",
"%PATH_ASSETS%3rdparty/adminLTE/plugins/iCheck/square/blue.css",
"%PATH_ASSETS%3rdparty/adminLTE/plugins/iCheck/flat/blue.css",
2017-06-05 14:03:14 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/select2/select2.min.css",
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/dist/css/AdminLTE.min.css",
"%PATH_ASSETS%3rdparty/adminLTE/dist/css/skins/_all-skins.min.css",
2017-01-21 18:30:27 +00:00
//App stylesheets - common stylesheets
2017-02-24 08:57:27 +00:00
"%PATH_ASSETS%css/common/global.css",
2017-01-21 18:30:27 +00:00
"%PATH_ASSETS%css/common/page/waitSplashScreen.css",
"%PATH_ASSETS%css/common/network/networkError.css",
2017-05-24 14:21:34 +00:00
//Components stylesheets
//Menubar stylesheet
2017-05-24 14:21:34 +00:00
"%PATH_ASSETS%css/components/menuBar.css",
//Searchform stylesheet
2017-05-26 14:11:41 +00:00
"%PATH_ASSETS%css/components/searchForm.css",
//Friendbar stylesheet
2017-05-31 17:05:19 +00:00
"%PATH_ASSETS%css/components/friends/friendsBar.css",
//Conversations stylesheet
2017-06-07 17:24:48 +00:00
"%PATH_ASSETS%css/components/conversations/manager.css",
"%PATH_ASSETS%css/components/conversations/windows.css",
2017-06-13 14:42:09 +00:00
"%PATH_ASSETS%css/components/conversations/list.css",
//User selector stylesheet
2017-06-05 14:03:14 +00:00
"%PATH_ASSETS%css/components/userSelect/userSelect.css",
2017-01-04 18:14:27 +00:00
);
//JS files to include (at the end of the page)
$config['JSfiles'] = array(
2017-05-26 06:56:32 +00:00
//Framework inclusions
//Jquery
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/jQuery/jquery-2.2.3.min.js",
//Bootstrap
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/bootstrap/js/bootstrap.min.js",
//JQuery UI
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/jquery-ui/jquery-ui.min.js",
//iCheck
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/iCheck/icheck.min.js",
//Slimscroll
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/slimScroll/jquery.slimscroll.min.js",
//Select2
2017-06-05 14:29:28 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/plugins/select2/select2.min.js",
//adminLTE script
2017-05-26 06:56:32 +00:00
"%PATH_ASSETS%3rdparty/adminLTE/dist/js/app.min.js",
//Bootstrap notify
"%PATH_ASSETS%3rdparty/bootstrap-notify-3.1.3.min.js",
2017-01-21 18:30:27 +00:00
2017-05-21 15:42:04 +00:00
//Utilities
"%PATH_ASSETS%js/common/utils.js",
2017-01-25 15:52:22 +00:00
//Functions schema
"%PATH_ASSETS%js/common/functionsSchema.js",
2017-01-25 15:52:22 +00:00
//Pages list
"%PATH_ASSETS%js/pagesList.js",
//App scripts -- common scripts
2017-06-14 09:46:10 +00:00
"%PATH_ASSETS%js/common/cacheManager.js",
2017-01-25 15:52:22 +00:00
"%PATH_ASSETS%js/common/network.js",
2017-01-04 18:14:27 +00:00
"%PATH_ASSETS%js/common/api.js",
"%PATH_ASSETS%js/common/errors.js",
"%PATH_ASSETS%js/common/messages.js",
"%PATH_ASSETS%js/common/langs.js",
2017-01-08 15:17:22 +00:00
"%PATH_ASSETS%js/common/url.js",
"%PATH_ASSETS%js/common/jsFiles.js",
"%PATH_ASSETS%js/common/debug.js",
2017-01-21 18:30:27 +00:00
"%PATH_ASSETS%js/common/page.js",
2017-02-24 09:48:21 +00:00
"%PATH_ASSETS%js/common/notifications.js",
"%PATH_ASSETS%js/common/formChecker.js",
2017-06-03 12:25:21 +00:00
"%PATH_ASSETS%js/common/date.js",
2017-05-21 16:18:29 +00:00
"%PATH_ASSETS%js/common/system.js",
//Default langage
"%PATH_ASSETS%js/langs/en.inc.js",
2017-05-22 16:06:17 +00:00
//Components
//Mail caching
2017-05-24 14:37:41 +00:00
"%PATH_ASSETS%js/components/mailCaching.js",
//Search form
2017-05-26 10:01:54 +00:00
"%PATH_ASSETS%js/components/searchForm/searchForm.js",
//Main menubar
"%PATH_ASSETS%js/components/menuBar/common.js",
"%PATH_ASSETS%js/components/menuBar/notAuthenticated.js",
"%PATH_ASSETS%js/components/menuBar/authenticated.js",
//Friends components
2017-05-31 15:12:51 +00:00
"%PATH_ASSETS%js/components/friends/friendsList.js",
"%PATH_ASSETS%js/components/friends/friendsBar.js",
//Private conversations
2017-06-07 17:24:48 +00:00
"%PATH_ASSETS%js/components/conversations/manager.js",
"%PATH_ASSETS%js/components/conversations/list.js",
"%PATH_ASSETS%js/components/conversations/windows.js",
"%PATH_ASSETS%js/components/conversations/chatWindows.js",
2017-06-07 17:24:48 +00:00
"%PATH_ASSETS%js/components/conversations/interface.js",
"%PATH_ASSETS%js/components/conversations/service.js",
2017-06-14 09:46:10 +00:00
"%PATH_ASSETS%js/components/conversations/cachingOpened.js",
//User selector
2017-06-05 14:03:14 +00:00
"%PATH_ASSETS%js/components/userSelect/userSelect.js",
2017-05-22 16:06:17 +00:00
2017-01-28 13:07:18 +00:00
//User scripts
"%PATH_ASSETS%js/user/loginTokens.js",
2017-01-28 17:43:30 +00:00
"%PATH_ASSETS%js/user/userLogin.js",
"%PATH_ASSETS%js/user/userInfos.js",
2017-01-28 13:07:18 +00:00
//Pages scripts
//Home page
"%PATH_ASSETS%js/pages/home/home.js",
2017-05-22 16:12:50 +00:00
"%PATH_ASSETS%js/pages/home/landingPage.js",
//Login page
2017-02-18 17:37:36 +00:00
"%PATH_ASSETS%js/pages/login.js",
//Logout page
2017-03-01 14:37:55 +00:00
"%PATH_ASSETS%js/pages/logout.js",
2017-05-25 11:55:49 +00:00
//Create shortcuts for common functions
"%PATH_ASSETS%js/common/shorcuts.js",
2017-05-27 09:57:05 +00:00
"%PATH_ASSETS%js/common/helpers.js",
2017-05-25 11:55:49 +00:00
//Init script
"%PATH_ASSETS%js/init.js",
);
//JS language path
$config['languagesPath'] = "%PATH_ASSETS%js/langs/";
//Production mode
2017-01-22 17:46:06 +00:00
$config['productionMode'] = 0;
//Application version
2017-01-25 15:52:22 +00:00
$config['appVersion'] = "0.1";
//Templates URL
$config['templatesURL'] = $config['pathAssets']."templates/";