Skip to content

Commit

Permalink
not really sure what ive done
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Bryk committed Sep 6, 2012
1 parent 568c91e commit ad42fe2
Show file tree
Hide file tree
Showing 170 changed files with 30,311 additions and 9 deletions.
16 changes: 16 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
RedirectMatch 404 /\\.git(/|$)

RewriteEngine on

# If you are in a sub folder of your web root you
# might have to enable something like this:
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php
DirectoryIndex index.php




Empty file.
1 change: 1 addition & 0 deletions nbproject/private/config.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config=my_site
4 changes: 4 additions & 0 deletions nbproject/private/configs/my_site.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
remote.connection=webhostinghub-644854
remote.upload=ON_RUN
run.as=REMOTE
url=http://markbryk.in/
16 changes: 12 additions & 4 deletions protected/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@
'theme'=>'biskit',

// preloading 'log' component
'preload'=>array('log'),
'preload'=>array('log', 'bootstrap'),

// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
'application.extensions.*'
),

'modules'=>array(
// uncomment the following to enable the Gii tool

'klapper',
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'Enter Your Password Here',
'password'=>'admin',
// If removed, Gii defaults to localhost only. Edit carefully to taste.
'ipFilters'=>array('127.0.0.1','::1'),
'generatorPaths'=>array(
'bootstrap.gii', // since 0.9.1
),
),

),
Expand All @@ -50,6 +54,7 @@
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
'showScriptName'=>true,
),

'db'=>array(
Expand Down Expand Up @@ -80,12 +85,15 @@
*/
),
),
'bootstrap'=>array(
'class'=>'application.extensions.bootstrap.components.Bootstrap', // assuming you extracted bootstrap under extensions
),
),

// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
'params'=>array(
// this is used in contact page
'adminEmail'=>'[email protected]',
'adminEmail'=>'[email protected]',
),
);
24 changes: 24 additions & 0 deletions protected/extensions/bootstrap/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Copyright (c) 2010, Christoffer Niska
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the Christoffer Niska nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit ad42fe2

Please sign in to comment.