Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
store-locator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ajay Barthwal
store-locator
Commits
ebe89899
Commit
ebe89899
authored
Aug 19, 2019
by
Arpit Jain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
worked on feed
parent
d6fb993b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CronController.php
application/app/Http/Controllers/CronController.php
+2
-2
updatedquery.php
application/updatedquery.php
+2
-0
No files found.
application/app/Http/Controllers/CronController.php
View file @
ebe89899
...
...
@@ -124,13 +124,13 @@ class CronController extends Controller
$data
=
Excel
::
import
(
new
FeedsImport
,
$file
);
$msg
=
'Feeds has been updated successfully.'
;
$request
->
session
()
->
flash
(
'message'
,
$msg
);
return
redirect
()
->
route
(
'admin.feedSetting'
);
return
redirect
()
->
route
(
'admin.feed
s.feed
Setting'
);
}
else
{
$msg
=
'Something went wrong!'
;
$request
->
session
()
->
flash
(
'error'
,
$msg
);
return
redirect
()
->
route
(
'admin.feedSetting'
);
return
redirect
()
->
route
(
'admin.feed
s.feed
Setting'
);
}
}
...
...
application/updatedquery.php
View file @
ebe89899
...
...
@@ -4,6 +4,8 @@ RUN on browser : WWW_ROOT./cron/getLocaterListData
RUN
on
browser
:
WWW_ROOT
./
cron
/
getState
RUN
on
browser
:
WWW_ROOT
./
cron
/
getCity
/*12 August 2019*/
Run
on
CMD
:
composer
require
maatwebsite
/
excel
ALTER
TABLE
`homepages`
CHANGE
`other_setting`
`show_feed`
VARCHAR
(
255
)
CHARACTER
SET
latin1
COLLATE
latin1_swedish_ci
NOT
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment