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
| import React from 'react' | |
| import PropTypes from 'prop-types' | |
| const {string, number} = PropTypes | |
| const propTypes = { | |
| redirect: string, | |
| company: string.isRequired, | |
| } | |
| class GdprUpdatePassword extends React.Component { |
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
| DEMIO_PATH=/home/ubuntu/www/demio | |
| * * * * * php $DEMIO_PATH/apps/workers/cli.php triggers-cron >/dev/null 2>&1 | |
| * * * * * sleep 1; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1 | |
| * * * * * sleep 21; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1 | |
| * * * * * sleep 41; php $DEMIO_PATH/apps/workers/cli.php email >/dev/null 2>&1 | |
| * * * * * sleep 10; php $DEMIO_PATH/apps/workers/cli.php event-series-type >/dev/null 2>&1 | |
| * * * * * sleep 12; php $DEMIO_PATH/apps/workers/cli.php infinite-series >/dev/null 2>&1 | |
| */5 * * * * sleep 15; php $DEMIO_PATH/apps/workers/cli.php overdue-webinars >/dev/null 2>&1 | |
| */5 * * * * sleep 20; php $DEMIO_PATH/apps/workers/cli.php early-finished-webinars >/dev/null 2>&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
| <?php | |
| // ... | |
| $di->set('cacheManager', new CacheManager()); |
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 | |
| $qb = $this->modelsManager->createBuilder() | |
| ->columns(['e.*', 'i.*']) | |
| ->addFrom('Backend\Models\Event', 'e') | |
| ->innerJoin('Backend\Models\Image', 'e.id = i.event_id', 'i') | |
| ->where('e.id = :id:', ['id' => $some_id]); | |
| $entries = $qb->getQuery()->execute(); |
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
| /** | |
| * $.hoverDelayed() | |
| */ | |
| (function($) { | |
| 'use strict'; | |
| // Оригінал | |
| var oldHover = $.fn.hover, | |
| // Заміна |
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 | |
| /** | |
| * ExceptionPlugin | |
| * @copyright Copyright (c) 2011 - 2014 Aleksandr Torosh (http://wezoom.com.ua) | |
| * @author Aleksandr Torosh <[email protected]> | |
| */ | |
| use Phalcon\Mvc\Dispatcher, | |
| Phalcon\Mvc\User\Plugin, | |
| Application\Acl\DefaultAcl; |
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
| namespace Application\Mvc\ViewEngine; | |
| class Volt extends \Phalcon\Mvc\View\Engine\Volt | |
| { | |
| public function __construct($view, $dependencyInjector = null) | |
| { | |
| parent::__construct($view, $dependencyInjector); | |
| } |
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 | |
| /** | |
| * @copyright Copyright (c) 2011 - 2012 Aleksandr Torosh (http://wezoom.com.ua) | |
| * @author Aleksandr Torosh <[email protected]> | |
| */ | |
| $title = 'Керування новинами'; | |
| $this->tag->prependTitle($title); |
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
| Event = (function() { | |
| var guid = 0 | |
| function fixEvent(event) { | |
| event = event || window.event | |
| if ( event.isFixed ) { | |
| return event | |
| } |
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
| // My Entity | |
| class News extends \Phalcon\Mvc\Model | |
| { | |
| public $pub; // boolean field, Checkbox in Form | |
| public function getPub() | |
| { | |
| return $this->pub; |
NewerOlder