-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage site Contacts/ with MessageController => CakePhp 2 formular vi…
…ew (#28) * Fixes: DocumentRoot File permissions * Fixes: ServerRoot * Merge branch 'development' into issue-4-contacts * Basic messenger WIP https://book.cakephp.org/2.0/fr/models/data-validation.html * CRUD Message > contactus/add,edit,delete,index * WIP https://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html clientapi and graph sdk * WIP AuthComponent Client+Motdepasse * Feature essentials View Access scope Tests * beta release * Document PDO errors * Fixes: The action message is not defined in controller E14Controller * Fixes: Illegal Instructions 4 (cake) * Fixes: Table clients for model Client was not found in datasource default * Adds app/Locale views * armhf pushed ./mysqldb
- Loading branch information
Showing
54 changed files
with
2,124 additions
and
394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/* | ||
* @copyrights www.b23prodtm.info - 2017 (all rights reserved to author) | ||
* @author T. Arimanana | ||
*/ | ||
|
||
App::uses('CakeEmail', 'Network/Email'); | ||
|
||
class EmailConfig { | ||
public $default = array( | ||
'transport' => 'Mail', | ||
'from' => 'webmaster@localhost', | ||
//'charset' => 'utf-8', | ||
//'headerCharset' => 'utf-8', | ||
); | ||
public $gmail = array( | ||
'host' => 'smtp.gmail.com', | ||
'port' => 465, | ||
'username' => 'my@gmail.com', | ||
'password' => 'secret', | ||
'transport' => 'Smtp', | ||
'tls' => true | ||
); | ||
public function __construct() { | ||
$this->default['from'] = getenv('SERVER_NAME') ? 'no-reply@' . getenv('SERVER_NAME') : $this->default['from']; | ||
} | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.