1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- if (ubRouting::get('action') == 'herd') {
- if ($alterconf['PON_ENABLED']) {
- if (ubRouting::checkGet('oltid')) {
- /**
- *
- * |\ /|
- * ___| \,,/_/
- * ---__/ \/ \
- * __--/ (D) \
- * _ -/ (_ \
- * // / \_ / ==\
- * __-------_____--___--/ / \_ O o)
- * / / \==/
- * / /
- * || ) \_/\
- * || / _ / |
- * | | /--______ ___\ /\ :
- * | / __- - _/ ------ | | \ \
- * | - - / | | \ )
- * | | - | | ) | |
- * | | | | | | | |
- * | | < | | | |_/
- * < | /__\ < \
- * /__\ /___\
- */
- $oltId = ubRouting::get('oltid', 'int');
- $pony = new PONizer();
- $pony->pollOltSignal($oltId);
- die('OK:HERD');
- } else {
- die('ERROR:NO_OLTID');
- }
- } else {
- die('ERROR:PON_DISABLED');
- }
- }
|