w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS

This commit is contained in:
noxy
2019-08-26 16:58:26 +00:00
commit da71b95aa2
517 changed files with 143236 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Blade;
class BladeServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
/* @simplemd($var) */
/** @var \Illuminate\View\Compilers\BladeCompiler $compiler */
Blade::directive('simplemd', function($text) {
return "<?php echo App\\Models\\Comment::simplemd({$text}); ?>";
});
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
//
}
}