Skip to content

Instantly share code, notes, and snippets.

View yii2-developer's full-sized avatar

Александр yii2-developer

View GitHub Profile
<?php
namespace components\routes;
use yii\web\UrlRule;
use \app\models\Content;
use Yii;
/**
* @author Rom <rommcr@gmail.com>
@yii2-developer
yii2-developer / phantomjs
Created September 28, 2015 08:31
Phantomjs startup script for Centos
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Script for starting phantomjs.
#
. /etc/rc.d/init.d/functions
USER="phantomjs"