Skip to content

Commit

Permalink
move source from bitbucket to github
Browse files Browse the repository at this point in the history
  • Loading branch information
yuguo committed Jul 23, 2012
0 parents commit 5709826
Show file tree
Hide file tree
Showing 543 changed files with 103,670 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .htaccess
@@ -0,0 +1,11 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /33pu/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
4 changes: 4 additions & 0 deletions .travis.yml
@@ -0,0 +1,4 @@
branches:
except:
- 2.1-stable
- master
6 changes: 6 additions & 0 deletions README.md
@@ -0,0 +1,6 @@
# 关于Git的使用

使用Git前强烈建议参考Github Flow,使用分支进行开发,完全无误再合并主干 http://scottchacon.com/2011/08/31/github-flow.html
如果要把一些特定的文件格式忽略提交,参考 https://help.github.com/articles/ignoring-files
如果要把某个特定文件隔离,比如我在公司配置代理的配置文件,参考 http://stackoverflow.com/questions/7070659/git-exclude-ignore-files-from-commit
如果要隔离某个文件夹,比如images都是本地调试自动保存的图片,不用发布,可以使用 $ git update-index --assume-unchanged images/
Binary file added abc.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added abc.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions application/.htaccess
@@ -0,0 +1 @@
Deny from all
1 change: 1 addition & 0 deletions application/cache/.htaccess
@@ -0,0 +1 @@
deny from all
10 changes: 10 additions & 0 deletions application/cache/index.html
@@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
116 changes: 116 additions & 0 deletions application/config/autoload.php
@@ -0,0 +1,116 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Packages
| 2. Libraries
| 3. Helper files
| 4. Custom config files
| 5. Language files
| 6. Models
|
*/

/*
| -------------------------------------------------------------------
| Auto-load Packges
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
|
*/

$autoload['packages'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/

$autoload['libraries'] = array('database');


/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/

$autoload['helper'] = array('url','file');


/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/

$autoload['config'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/

$autoload['language'] = array();


/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('model1', 'model2');
|
*/

$autoload['model'] = array();


/* End of file autoload.php */
/* Location: ./application/config/autoload.php */

0 comments on commit 5709826

Please sign in to comment.