View plugin_link.php
This file contains 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
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'plugin_page_settings_link'); | |
function plugin_page_settings_link($links) { | |
$links[] = '<a href="' . admin_url( 'tools.php?page=suss-submenu' ) . '">' . __('Settings') . '</a>'; | |
return $links; | |
} |
View webmin
This file contains 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
server { | |
server_name your-domain.name; | |
access_log /var/log/nginx/webmin-access.log; | |
error_log /var/log/nginx/webmin-error.log; | |
location / { | |
proxy_pass http://127.0.0.1:10000/; | |
proxy_redirect http://$host:10000/ https://$host; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; |
View edit.blade.php
This file contains 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 | |
/** | |
* @var $post \App\Post | |
*/ | |
@endphp | |
@extends('layouts.admin') | |
@section('content') | |
<div class="card card-default"> |
View SummernoteController.php
This file contains 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 App\Http\Controllers\Shared; | |
use App\Http\Controllers\Controller; | |
use App\Http\Requests\Summernote\SummernoteDeleteRequest; | |
use App\Http\Requests\Summernote\SummernoteUploadRequest; | |
use Storage; | |
class SummernoteController extends Controller |
View ModelMakeCommand.php
This file contains 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 App\Console\Commands; | |
use Illuminate\Foundation\Console\ModelMakeCommand as Command; | |
class ModelMakeCommand extends Command | |
{ | |
protected function getDefaultNamespace($rootNamespace) | |
{ |