List of resources related to wordpress themes and plugins development
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
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
This gist assumes:
- you have a local git repo
- with an online remote repository (github / bitbucket etc)
- and a cloud server (Rackspace cloud / Amazon EC2 etc)
- your (PHP) scripts are served from /var/www/html/
- your webpages are executed by apache
- apache's home directory is /var/www/
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 if ( ! defined( 'BASEPATH' ) ) exit( 'No direct script access allowed' ); | |
/** | |
* Discuz! 的用戶數據全部存儲在 UCenter 中, | |
* 並可以使用 UCenter 的接口體系與第三方產品進行掛接。 | |
* 因此,瞭解 UCenter 也是瞭解 Discuz! 產品體系的重要一步。 | |
* | |
* @link http://dev.discuz.org/wiki/index.php | |
* @link http://dev.discuz.org/wiki/index.php?title=UCenter接口 | |
*/ | |
class Discuzx { |