diff --git a/Gruntfile.js b/Gruntfile.js index 72ed27c13..722e36ced 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -75,7 +75,7 @@ module.exports = function(grunt) { srcPrefix: './' }, files: { - 'public/license': 'public/license/COPYING' + 'public/license': 'LICENSE' } }, }, diff --git a/public/license/COPYING b/LICENSE similarity index 100% rename from public/license/COPYING rename to LICENSE diff --git a/application/controllers/Config.php b/application/controllers/Config.php index e7f8cfccc..e1b040cbd 100644 --- a/application/controllers/Config.php +++ b/application/controllers/Config.php @@ -23,13 +23,13 @@ class Config extends Secure_Controller $license[$i]['title'] = 'Open Source Point Of Sale ' . $this->config->item('application_version'); - if(file_exists('license/COPYING')) + if(file_exists('license/LICENSE')) { - $license[$i]['text'] = $this->xss_clean(file_get_contents('license/COPYING', NULL, NULL, 0, 2000)); + $license[$i]['text'] = $this->xss_clean(file_get_contents('license/LICENSE', NULL, NULL, 0, 2000)); } else { - $license[$i]['text'] = 'COPYING file must be in OSPOS license directory. You are not allowed to use OSPOS application until the distribution copy of COPYING file is present.'; + $license[$i]['text'] = 'LICENSE file must be in OSPOS license directory. You are not allowed to use OSPOS application until the distribution copy of LICENSE file is present.'; } // read all the files in the dir license diff --git a/public/license/LICENSE b/public/license/LICENSE new file mode 100644 index 000000000..9eb29b09e --- /dev/null +++ b/public/license/LICENSE @@ -0,0 +1,35 @@ +The MIT License (MIT) + +Copyright (c) 2012-2014 pappastech +Copyright (c) 2012 Alain +Copyright (c) 2013 Rob Garrison +Copyright (c) 2013 Parq +Copyright (c) 2013 Ramel +Copyright (c) 2014-2016 jekkos +Copyright (c) 2015-2016 FrancescoUK (aka daN4cat) +Copyright (c) 2015 Aamir Shahzad (aka asakpke), RoshanTech.com +Copyright (c) 2015 Toni Haryanto (aka yllumi) +Copyright (c) 2016 Ramkrishna Mondal (aka RamkrishnaMondal) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +You cannot claim copyright or ownership of the Software. + +Footer signatures "You are using Open Source Point Of Sale" and/or "Open Source Point Of Sale" +with version, hash and URL link to the original distribution of the code MUST BE RETAINED, +MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file