Skip to content

Commit 03c8608

Browse files
committed
Fixed composer issues
1 parent a843808 commit 03c8608

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

app/core/config/macros.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
define('ROOT', getcwd());
33
const APP = ROOT . '/app/';
4-
const COMPOSER = ROOT . '/composer/';
4+
const COMPOSER = ROOT . '/vendor/';
55

66
const CORE = APP . 'core/';
77
const CONTROLLER = APP . 'controller/';

app/core/lib/tools.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function http_check($options){
1010
}
1111
function lib($lib) {
1212
$lib = trim(str_replace(D, S, $lib), S);
13-
is_dir(LIB . $lib) ? require_once LIB . $lib . S . "init.php" : require_once LIB . $lib . S . PHP;
13+
is_dir(LIB . $lib) ? require_once LIB . $lib . S . "init.php" : require_once LIB . $lib . PHP;
1414
}
1515
function model($model) {
1616
$model = trim(str_replace(D, S, $model), S);

app/view/home.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-------- model
1313
-------- view
1414
---- public
15-
---- composer
15+
---- vendor
1616
</pre>
1717
<hr>
1818

composer.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "pwwiur/ais",
3+
"description": "AIS Framework",
4+
"type": "project",
5+
"license": "Apache License",
6+
"require": {}
7+
}

0 commit comments

Comments
 (0)