2017-01-04 18:14:27 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* PHP dev config for the website
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
|
|
|
|
//Path to assets
|
2017-01-08 14:54:25 +00:00
|
|
|
$config['pathAssets'] = $config['siteURL']."assets/";
|
2017-01-04 18:14:27 +00:00
|
|
|
|
|
|
|
//CSS files to include
|
|
|
|
$config['CSSfiles'] = array(
|
2017-01-21 18:30:27 +00:00
|
|
|
//CSS files
|
2017-01-04 18:14:27 +00:00
|
|
|
"%PATH_ASSETS%adminLTE/bootstrap/css/bootstrap.min.css",
|
|
|
|
"%PATH_ASSETS%adminLTE/plugins/font-awesome/css/font-awesome.min.css",
|
|
|
|
"%PATH_ASSETS%adminLTE/plugins/ionicons/css/ionicons.min.css",
|
2017-02-21 11:37:26 +00:00
|
|
|
"%PATH_ASSETS%adminLTE/plugins/iCheck/square/blue.css",
|
2017-01-04 18:14:27 +00:00
|
|
|
"%PATH_ASSETS%adminLTE/dist/css/AdminLTE.min.css",
|
|
|
|
"%PATH_ASSETS%adminLTE/dist/css/skins/_all-skins.min.css",
|
2017-01-21 18:30:27 +00:00
|
|
|
|
|
|
|
//App 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",
|
2017-01-04 18:14:27 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
//JS files to include (at the end of the page)
|
|
|
|
$config['JSfiles'] = array(
|
2017-01-21 18:30:27 +00:00
|
|
|
//Framewokr inclusions
|
2017-01-04 18:14:27 +00:00
|
|
|
"%PATH_ASSETS%adminLTE/plugins/jQuery/jquery-2.2.3.min.js",
|
|
|
|
"%PATH_ASSETS%adminLTE/plugins/jquery-ui/jquery-ui.min.js",
|
2017-02-21 11:37:26 +00:00
|
|
|
"%PATH_ASSETS%adminLTE/plugins/iCheck/icheck.min.js",
|
2017-01-21 18:30:27 +00:00
|
|
|
|
2017-01-25 15:52:22 +00:00
|
|
|
//Functions schema
|
2017-01-08 14:54:25 +00:00
|
|
|
"%PATH_ASSETS%js/common/functionsSchema.js",
|
2017-01-25 15:52:22 +00:00
|
|
|
|
|
|
|
//App scripts
|
|
|
|
"%PATH_ASSETS%js/common/network.js",
|
2017-01-22 12:03:31 +00:00
|
|
|
"%PATH_ASSETS%js/pagesList.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",
|
2017-01-08 14:54:25 +00:00
|
|
|
"%PATH_ASSETS%js/common/langs.js",
|
2017-01-08 15:17:22 +00:00
|
|
|
"%PATH_ASSETS%js/common/url.js",
|
2017-01-08 14:54:25 +00:00
|
|
|
"%PATH_ASSETS%js/common/jsFiles.js",
|
|
|
|
"%PATH_ASSETS%js/common/debug.js",
|
|
|
|
"%PATH_ASSETS%js/langs/en.inc.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-01-08 14:54:25 +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",
|
2017-01-28 13:07:18 +00:00
|
|
|
|
2017-02-18 17:26:30 +00:00
|
|
|
//Pages scripts
|
|
|
|
"%PATH_ASSETS%js/pages/home/home.js",
|
2017-02-18 17:37:36 +00:00
|
|
|
"%PATH_ASSETS%js/pages/login.js",
|
2017-03-01 14:37:55 +00:00
|
|
|
"%PATH_ASSETS%js/pages/logout.js",
|
2017-02-18 17:26:30 +00:00
|
|
|
|
2017-01-08 14:54:25 +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/";
|