This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$app->get('/css/fonts/fontawesome-(:type)?', function ($type) use ($app) { | |
$v = $app->request->get()['v']; | |
$app->redirect('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/'.$v.'/fonts/fontawesome-'.$type, 301); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"codeguy/upload":"~1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# i should be placed within "public/user" | |
php_flag engine off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "userfrosting-plugin-stolz-asssets", | |
"type": "project", | |
"description": "Integrates Stolz's Assets Manager", | |
"license" : "MIT", | |
"require-dev": { | |
}, | |
"require": { | |
"stolz/assets" : "*", | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace UserFrosting\Uploader; | |
// add require "codeguy/upload":"*" to composer | |
use Sirius\Upload\Handler as UploadHandler; | |
// Register CSS and JS includes for the pages | |
$app->hook('includes.css.register', function () use ($app){ | |
// Register common CSS files |
NewerOlder