This file contains hidden or 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
<VirtualHost *:443 *:80> | |
DocumentRoot "/path/to/webRoot" | |
ServerName yourServerName | |
<IfModule ssl_module> | |
SSLEngine on | |
SSLCertificateFile "/path/to/crtFileName.crt" | |
SSLCertificateKeyFile "/path/to/keyFileName.key" | |
</IfModule> |
This file contains hidden or 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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: Administrator | |
* Date: 2017-03-31 | |
* Time: 10:44 | |
*/ | |
namespace AppBundle\Services; |
This file contains hidden or 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
<?php | |
/** | |
*去除所有文件BOM | |
* usage:命令行进入到项目根目录,执行 php clear_bom.php | |
*author Caihong_tang | |
*@created 2016-6-13 10:05:34 | |
*/ | |
if (isset($_GET['dir'])){ | |
$basedir=$_GET['dir']; | |
} |
This file contains hidden or 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
<?php | |
/** | |
* Description replace from your description | |
* Created by Jetbrains PhpStorm. | |
* User: Jake <[email protected]> | |
* Created: 2016/6/7 9:39 | |
*/ | |
class Config |
This file contains hidden or 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
<?php | |
echo "hello"; | |
class Jake{ | |
private $name; | |
public function set($name){ | |
$this->name = $name; | |
} | |
} | |
$man = new Jake('Jakesoft'); |
NewerOlder