Skip to content

Commit 1b9c3b2

Browse files
Merge pull request #1 from Project-CleverWeb/rebuild
Rebuild From Scratch
2 parents 9dd8549 + 4619af0 commit 1b9c3b2

File tree

1,189 files changed

+59961
-17050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,189 files changed

+59961
-17050
lines changed

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/src/vendor
2+
/node_modules
3+
/npm-debug.log
4+
5+
### OS ###
6+
.DS_Store
7+
.DS_Store?
8+
._*
9+
.Spotlight-V100
10+
.Trashes
11+
Icon?
12+
ehthumbs.db
13+
Thumbs.db

changelog.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "projectcleverweb/lastautoindex",
3+
"description": "",
4+
"version": "1.0.0",
5+
"keywords": [],
6+
"homepage": "https://github.com/Project-CleverWeb/LastAutoIndex",
7+
"type": "project",
8+
"license": "MIT",
9+
"authors": [
10+
{
11+
"name": "Nicholas Jordon",
12+
"email": "projectcleverweb@gmail.com",
13+
"homepage": "https://github.com/ProjectCleverWeb"
14+
}
15+
],
16+
"require": {
17+
"php": ">=5.4",
18+
"digitalnature/php-ref": "dev-master",
19+
"projectcleverweb/php-uri": "dev-develop"
20+
},
21+
"config": {
22+
"vendor-dir": "src/vendor"
23+
},
24+
"autoload": {
25+
"psr-4": {
26+
"projectcleverweb\\lastautoindex\\": "src/system"
27+
}
28+
}
29+
}

composer.lock

Lines changed: 112 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config.json

Lines changed: 0 additions & 74 deletions
This file was deleted.

default_config.json

Lines changed: 0 additions & 75 deletions
This file was deleted.

example.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# LastAutoIndex Config
22
Options -Indexes
3-
DirectoryIndex index.php index.html /path/to/LastAutoIndex/index.php
3+
DirectoryIndex index.php index.html /absolute/from/doc_root/to/LastAutoIndex/index.php

index.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
2-
define('LAI_ENV','DEV',1); // until v1.0.0 this is default
3-
require_once __DIR__.'/lib/last_auto_index.php';
4-
$_lai->sys = new last_auto_index(__DIR__.DS.'default_config.json', __DIR__);
5-
$_lai->sys->build(); // let the magic begin
2+
/**
3+
* The best things in life are simple and free.
4+
*/
5+
require_once __DIR__.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'autoload.php';
6+
lastautoindex::init();

lib/3rd-party/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/3rd-party/markdown/LICENSE

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)