Created
February 7, 2018 15:07
-
-
Save iboved/f23122a0e458c23f28c064c68b782e19 to your computer and use it in GitHub Desktop.
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 Octobase\Advertising; | |
use Backend; | |
use Octobase\Advertising\Controllers\Banners; | |
use System\Classes\PluginBase; | |
/** | |
* Advertising Plugin Information File | |
*/ | |
class Plugin extends PluginBase | |
{ | |
public function boot() { | |
Banners::extend(function ($controller) { | |
$controller->listConfig = 'config_list_another.yaml'; | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment