Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tetiana yaremko
/
web-app-group2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6e4dce5f
authored
May 12, 2020
by
tetiana yaremko
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
upload file on live server
parent
51d62a33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
application/models/Register_model.php
application/views/templates/header.php
application/models/Register_model.php
View file @
6e4dce5f
...
...
@@ -36,7 +36,7 @@ class Register_model extends CI_Model {
'protocol'
=>
'smtp'
,
'smtp_host'
=>
'ssl://smtp.googlemail.com'
,
'smtp_user'
=>
'tetianayaremko@gmail.com'
,
'smtp_pass'
=>
'55aKenuh'
,
'smtp_pass'
=>
'
oksana
55aKenuh'
,
'smtp_port'
=>
'465'
,
'mailtype'
=>
'html'
,
'charset'
=>
'iso-8859-1'
,
...
...
application/views/templates/header.php
View file @
6e4dce5f
...
...
@@ -63,8 +63,12 @@
<a
class=
"pr-2"
href=
"
<?php
echo
base_url
();
?>
index.php/home/products"
>
Home
</a>
<a
class=
"pr-4"
href=
"
<?php
echo
base_url
();
?>
index.php/home/all_products"
>
All
</a>
<a
class=
"pr-2"
href=
"
<?php
echo
base_url
();
?>
index.php/auth/register"
>
Register
</a>
<?php
if
(
$this
->
session
->
userdata
(
'logged_in'
))
{
?>
<a
class=
"pr-4"
href=
"
<?php
echo
base_url
();
?>
index.php/auth/logout"
class=
"out"
>
Log Out
</a>
<?php
}
else
{
?>
<a
class=
"pr-2"
href=
"
<?php
echo
base_url
();
?>
index.php/auth/login"
class=
"in"
>
Log in
</a>
<a
class=
"pr-4"
href=
"
<?php
echo
base_url
();
?>
index.php/auth/logout"
class=
"out"
>
Log Out
</a>
<?php
}
?>
</div>
</div>
...
...
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