Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Development #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion #SERVER_SIDE/signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$address=$request->add;
$pincode=$request->pin;

$conn = new mysqli("localhost", "db_user", "db_pass", "db_name");
$conn = new mysqli('localhost', 'root', '', 'foodkart');

// To protect MySQL injection for Security purpose
$name = stripslashes($name);
Expand Down
2 changes: 1 addition & 1 deletion #SERVER_SIDE/user-details.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if( isset($_GET["e"]) && isset($_GET["p"]) ){
if( !empty($_GET["e"]) && !empty($_GET["p"]) ){
$conn = new mysqli("localhost", "db_user", "db_pass", "db_name");
$conn = new mysqli("localhost", "root", "Comfortkey741!", "foodkart");;
$username=$_GET["e"]; $password=$_GET["p"];

// To protect MySQL injection for Security purpose
Expand Down
47 changes: 24 additions & 23 deletions config.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.ionicframework.app669019" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>app</name>
<description>
<name>app</name>
<description>
An Ionic Framework and Cordova project.
</description>
<author email="[email protected]" href="http://example.com.com/">
<author email="[email protected]" href="http://example.com.com/">
Your Name Here
</author>
<content src="index.html"/>
<access origin="*"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="SplashScreenDelay" value="2000"/>
<preference name="FadeSplashScreenDuration" value="2000"/>
<preference name="android-minSdkVersion" value="16"/>
<preference name="BackupWebStorage" value="none"/>
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
<plugin name="cordova-plugin-device" spec="~1.1.2"/>
<plugin name="cordova-plugin-console" spec="~1.0.3"/>
<plugin name="cordova-plugin-whitelist" spec="~1.2.2"/>
<plugin name="cordova-plugin-splashscreen" spec="~3.2.2"/>
<plugin name="cordova-plugin-statusbar" spec="~2.1.3"/>
<plugin name="ionic-plugin-keyboard" spec="~2.2.1"/>
</widget>
<content src="index.html" />
<access origin="*" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="SplashScreenDelay" value="2000" />
<preference name="FadeSplashScreenDuration" value="2000" />
<preference name="android-minSdkVersion" value="16" />
<preference name="BackupWebStorage" value="none" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<plugin name="cordova-plugin-device" spec="~1.1.2" />
<plugin name="cordova-plugin-console" spec="~1.0.3" />
<plugin name="cordova-plugin-whitelist" spec="~1.2.2" />
<plugin name="cordova-plugin-splashscreen" spec="~3.2.2" />
<plugin name="cordova-plugin-statusbar" spec="~2.1.3" />
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
<plugin name="cordova-plugin-network-information" spec="^2.0.1" />
</widget>
12 changes: 10 additions & 2 deletions ionic.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"name": "app",
"app_id": ""
}
"integrations": {
"cordova": {}
},
"watchPatterns": [
"scss/**/*",
"www/**/*",
"!www/lib/**/*",
"!www/**/*.map"
]
}
Loading