Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 7b1d535

Browse files
committed
Eliasis Framework has been updated to version 1.0.4
1 parent 51d556b commit 7b1d535

File tree

8 files changed

+74
-2
lines changed

8 files changed

+74
-2
lines changed

config/add-urls.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* Eliasis PHP Framework application module
4+
*
5+
* @author Josantonius - [email protected]
6+
* @copyright Copyright (c) 2017
7+
* @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+
* @link https://github.com/Eliasis-Framework/fork-me-github
9+
* @since 1.0.0
10+
*/
11+
12+
use Eliasis\App\App,
13+
Eliasis\Module\Module;
14+
15+
$url = App::MODULES_URL() . Module::ForkMeGitHub('folder');
16+
17+
return [
18+
19+
'url' => [
20+
21+
'css' => $url . 'public' . App::DS . 'css' . App::DS,
22+
'js' => $url . 'public' . App::DS . 'js' . App::DS
23+
],
24+
];

config/namespaces.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* Eliasis PHP Framework application module
4+
*
5+
* @author Josantonius - [email protected]
6+
* @copyright Copyright (c) 2017
7+
* @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+
* @link https://github.com/Eliasis-Framework/fork-me-github
9+
* @since 1.0.0
10+
*/
11+
12+
use Eliasis\App\App;
13+
14+
$namespace = App::getNamespace('modules');
15+
16+
$module = 'ForkMeGitHub';
17+
18+
return [
19+
20+
'namespace' => [
21+
22+
'controller' => $namespace . $module . '\\Controller\\',
23+
],
24+
];

config/paths.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* Eliasis PHP Framework application module
4+
*
5+
* @author Josantonius - [email protected]
6+
* @copyright Copyright (c) 2017
7+
* @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+
* @link https://github.com/Eliasis-Framework/fork-me-github
9+
* @since 1.0.0
10+
*/
11+
12+
use Eliasis\App\App,
13+
Eliasis\Module\Module;
14+
15+
$DS = App::DS;
16+
$ROOT = Module::ForkMeGitHub('path');
17+
18+
return [
19+
20+
'path' => [
21+
22+
'elements' => $ROOT .'src' . $DS .'template' . $DS . 'elements' . $DS,
23+
],
24+
];
File renamed without changes.
File renamed without changes.

src/Controller/ForkMeGitHub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ForkMeGitHub extends Controller {
2929
*/
3030
public function css() {
3131

32-
Asset::css(Module::ForkMeGitHub('getUrl', 'css') . 'style.css');
32+
Asset::css(Module::ForkMeGitHub('url', 'css') . 'style.css');
3333
}
3434

3535
/**
@@ -39,7 +39,7 @@ public function css() {
3939
*/
4040
public function render() {
4141

42-
$path = Module::ForkMeGitHub('getPath', 'view');
42+
$path = Module::ForkMeGitHub('path', 'elements');
4343

4444
$this->view->renderizate($path . 'strip');
4545
}

0 commit comments

Comments
 (0)