fix: comments on bad place, add .gitignore vscode
This commit is contained in:
parent
d3af975d76
commit
0fec1fd9e3
|
@ -1 +1,8 @@
|
|||
emoji-data
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
*.code-workspace
|
||||
.history/
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
/*
|
||||
|
||||
* MarkDoc
|
||||
* PHP MarkDown document manager
|
||||
* Hordé Nicolas
|
||||
|
@ -7,7 +9,6 @@
|
|||
* Base on Pheditor "PHP file editor" By Hamid Samak Release under MIT license
|
||||
*/
|
||||
|
||||
<?php
|
||||
### Global defines
|
||||
define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
|
||||
define('LIB_DIR', ROOT_DIR.'lib/');
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
<?php
|
||||
/*
|
||||
|
||||
* MarkDoc
|
||||
* PHP MarkDown document manager
|
||||
* Hordé Nicolas
|
||||
* https://github.com/dahut87/MarkDoc
|
||||
* Release under GPLv3.0 license
|
||||
* Base on Pheditor "PHP file editor" By Hamid Samak Release under MIT license
|
||||
*/
|
||||
|
||||
function testip()
|
||||
{
|
||||
if (empty(ACCESS_IP) === false && ACCESS_IP != $_SERVER['REMOTE_ADDR'])
|
||||
|
@ -42,7 +52,7 @@ function specialurl($url)
|
|||
{
|
||||
switch ($url) {
|
||||
case ':APROPOS':
|
||||
$content = '# MarkDoc ?!
|
||||
$content = '# MarkDoc
|
||||
|
||||
**PHP MarkDown document manager, Free & OpenSource :heart_eyes: for easily create your documentation website**
|
||||
```
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue