fix: comments on bad place, add .gitignore vscode

This commit is contained in:
Nicolas Hordé 2021-01-01 12:34:11 +01:00
parent d3af975d76
commit 0fec1fd9e3
4 changed files with 20 additions and 9 deletions

7
.gitignore vendored
View File

@ -1 +1,8 @@
emoji-data
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
.history/

View File

@ -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/');

View File

@ -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 &amp; OpenSource :heart_eyes: for easily create your documentation website**
```

View File

@ -1,7 +0,0 @@
{
"folders": [
{
"path": "."
}
]
}