From 676948729b5919b9527e8608fe90becc6695645a Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sun, 2 Oct 2016 13:24:00 +0100 Subject: [PATCH] Amend bower and composer json dscription files (#624) --- application/controllers/Login.php | 2 +- bower.json | 8 ++++---- composer.json | 12 ++++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/application/controllers/Login.php b/application/controllers/Login.php index 71b09497b..e48473e38 100644 --- a/application/controllers/Login.php +++ b/application/controllers/Login.php @@ -71,7 +71,7 @@ class Login extends CI_Controller private function _security_check($username, $password) { - return preg_match('~\b(Copyright|(c)|�|All rights reserved|Developed|Crafted|Implemented|Made|Powered|Code|Design)\b~i', file_get_contents(APPPATH . 'views/partial/footer.php')); + return preg_match('~\b(Copyright|(c)|©|All rights reserved|Developed|Crafted|Implemented|Made|Powered|Code|Design)\b~i', file_get_contents(APPPATH . 'views/partial/footer.php')); } } ?> diff --git a/bower.json b/bower.json index 2aff64d7e..5fd71ca2d 100644 --- a/bower.json +++ b/bower.json @@ -1,14 +1,14 @@ { - "name": "opensourcepos", + "name": "OpenSourcePOS", + "description": "Open Source Point of Sale is a web based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface", "version": "3.0.0", "authors": [ "jekkos ", "FrancescoUK " ], - "description": "Open Source Point of Sale is a web based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface", - "main": "dist/opensourcepos.js", "keywords": [ - "point-of-sale" + "point-of-sale", + "POS" ], "license": "MIT", "homepage": "https://github.com/jekkos/opensourcepos", diff --git a/composer.json b/composer.json index 89ae14b71..30e601024 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,18 @@ { + "name": "OpenSourcePOS", "description" : "Open Source Point of Sale is a web based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface", + "version": "3.0.0", "license": "MIT", + "authors": [ + "jekkos ", + "FrancescoUK " + ], + "type": "project", + "keywords": [ + "point-of-sale", + "POS" + ], + "homepage": "https://github.com/jekkos/opensourcepos", "require": { "php": ">=5.5", "codeigniter/framework": "dev-develop#c4bd43432df03e4f4835c7689c8ed722cd2c3020",