Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent 9308147 commit 0b9eee0aa150b7354bd7cd03a61b1ca7356f80b8 @deepwinter deepwinter committed Jul 2, 2011
Showing 720 changed files with 0 additions and 58,304 deletions.
View
@@ -1,5 +0,0 @@
-application/media/*
-application/views/generated/*
-application/config/database.php
-modules/golive/backup/
-/nbproject/private/
View
@@ -1,48 +0,0 @@
-# Turn on URL rewriting
-Options +FollowSymLinks
-RewriteEngine On
-
-# Installation directory
-# RewriteBase /
-
-# Protect hidden files from being viewed
-<Files .*>
- Order Deny,Allow
- Deny From All
-</Files>
-
-RewriteRule ^(crossdomain.xml|index.php|robots.txt|favicon.ico|media) - [PT,L]
-RewriteRule ^application/media/* - [PT,L]
-
-# Protect system files from being viewed
-RewriteRule ^(?:system)\b.* index.php/$0 [L]
-
-# Allow any files or directories that exist to be displayed directly
-#RewriteCond %{REQUEST_FILENAME} !-f
-#RewriteCond %{REQUEST_FILENAME} !-d
-
-RewriteRule ^(.*)staging/application/media/(.*) - [PT,L]
-RewriteRule ^staging/(.*css)$ $1 [PT,L]
-RewriteRule ^staging/(.*js)$ $1 [PT,L]
-RewriteRule ^staging/(.*jpg)$ $1 [PT,L]
-RewriteRule ^staging/(.*gif)$ $1 [PT,L]
-RewriteRule ^staging/(.*png)$ $1 [PT,L]
-RewriteRule ^staging/(.*swf)$ $1 [PT,L]
-RewriteRule ^staging/(.*flv)$ $1 [PT,L]
-RewriteRule ^staging/(.*f4v)$ $1 [PT,L]
-RewriteRule ^staging/(.*)pdf$ - [PT,L]
-
-# Allow css and js to be displayed directly
-RewriteRule ^(.*)css$ - [PT,L]
-RewriteRule ^(.*)js$ - [PT,L]
-RewriteRule ^(.*)jpg$ - [PT,L]
-RewriteRule ^(.*)gif$ - [PT,L]
-RewriteRule ^(.*)png$ - [PT,L]
-RewriteRule ^(.*)swf$ - [PT,L]
-RewriteRule ^(.*)flv$ - [PT,L]
-RewriteRule ^(.*)f4v$ - [PT,L]
-RewriteRule ^(.*)pdf$ - [PT,L]
-
-
-# Rewrite all other URLs to index.php/URL
-RewriteRule ^(.*)$ index.php/$1 [PT]
View
3 SETUP
@@ -1,3 +0,0 @@
-Informal (for now) list of setup that needs doing
-
-1) Create a database.php file in application/config with correct settings
View
@@ -1,148 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-
-// -- Environment setup --------------------------------------------------------
-
-// Load the core Kohana class
-require SYSPATH.'classes/kohana/core'.EXT;
-
-if (is_file(APPPATH.'classes/kohana'.EXT))
-{
- // Application extends the core
- require APPPATH.'classes/kohana'.EXT;
-}
-else
-{
- // Load empty core extension
- require SYSPATH.'classes/kohana'.EXT;
-}
-
-/**
- * Set the default time zone.
- *
- * @see http://kohanaframework.org/guide/using.configuration
- * @see http://php.net/timezones
- */
-date_default_timezone_set('America/Chicago');
-
-/**
- * Set the default locale.
- *
- * @see http://kohanaframework.org/guide/using.configuration
- * @see http://php.net/setlocale
- */
-setlocale(LC_ALL, 'en_US.utf-8');
-
-/**
- * Enable the Kohana auto-loader.
- *
- * @see http://kohanaframework.org/guide/using.autoloading
- * @see http://php.net/spl_autoload_register
- */
-spl_autoload_register(array('Kohana', 'auto_load'));
-
-/**
- * Enable the Kohana auto-loader for unserialization.
- *
- * @see http://php.net/spl_autoload_call
- * @see http://php.net/manual/var.configuration.php#unserialize-callback-func
- */
-ini_set('unserialize_callback_func', 'spl_autoload_call');
-
-// -- Configuration and initialization -----------------------------------------
-
-/**
- * Set the default language
- */
-I18n::lang('en-us');
-
-/**
- * Set Kohana::$environment if a 'KOHANA_ENV' environment variable has been supplied.
- *
- * Note: If you supply an invalid environment name, a PHP warning will be thrown
- * saying "Couldn't find constant Kohana::<INVALID_ENV_NAME>"
- */
-if (isset($_SERVER['KOHANA_ENV']))
-{
- Kohana::$environment = constant('Kohana::'.strtoupper($_SERVER['KOHANA_ENV']));
-}
-
-/**
- * Initialize Kohana, setting the default options.
- *
- * The following options are available:
- *
- * - string base_url path, and optionally domain, of your application NULL
- * - string index_file name of your index file, usually "index.php" index.php
- * - string charset internal character set used for input and output utf-8
- * - string cache_dir set the internal cache directory APPPATH/cache
- * - boolean errors enable or disable error handling TRUE
- * - boolean profile enable or disable internal profiling TRUE
- * - boolean caching enable or disable internal caching FALSE
- */
-
-
-//this is a convention that eases things for us, but doesn't break interoperability of the mop modules
-$path = substr($_SERVER['SCRIPT_NAME'],0,-9);
-
-Kohana::init(array(
- 'base_url' => $path,
-));
-
-/**
- * Attach the file write to logging. Multiple writers are supported.
- */
-Kohana::$log->attach(new Log_File(APPPATH.'logs'));
-
-/**
- * Attach a file reader to config. Multiple readers are supported.
- */
-Kohana::$config->attach(new Config_File);
-
-/**
- * Enable modules. Modules are referenced by a relative or absolute path.
- */
-Kohana::modules(array(
- 'auth' => MODPATH.'auth', // Basic authentication
- // 'cache' => MODPATH.'cache', // Caching with multiple backends
- // 'codebench' => MODPATH.'codebench', // Benchmarking tool
- 'database' => MODPATH.'database', // Database access
- 'image' => MODPATH.'image', // Image manipulation
- 'orm' => MODPATH.'orm', // Object Relationship Mapping
- // 'unittest' => MODPATH.'unittest', // Unit testing
- // 'userguide' => MODPATH.'userguide', // User guide and API documentation
- 'mopcore' => MODPATH.'mopcore',
- 'mopcms' => MODPATH.'mopcms',
- 'mopui' => MODPATH.'mopui',
- 'mopextras' => MODPATH.'mopextras',
- 'mopfrontend' => MODPATH.'mopfrontend',
- 'navigation' => MODPATH.'navigation',
- 'tools' => MODPATH.'tools',
- 'usermanagement' => MODPATH.'usermanagement',
-
- ));
-
-
-/**
- * Set the routes. Each route must have a minimum of a name, a URI and a set of
- * defaults for the URI.
- */
-
-Route::set('default1', '<controller>(/<action>(/<id>))')
- ->defaults(array(
- 'action' => 'index',
- ));
-
-Route::set('slug', '<uri>')
- ->defaults(array(
- 'controller'=>'asdas',
- 'action'=>'aaa'
- ));
-
-
-
-
-Route::set('default', '(<controller>(/<action>(/<id>)))')
- ->defaults(array(
- 'controller' => 'welcome',
- 'action' => 'index',
- ));
View
No changes.
@@ -1,10 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-
-class Controller_Welcome extends Controller {
-
- public function action_index()
- {
- $this->response->body('hello, world!');
- }
-
-} // End Welcome
@@ -1,16 +0,0 @@
-<?php defined('SYSPATH') or die('No direct access allowed.');
-
-return array(
-
- 'driver' => 'file',
- 'hash_method' => 'sha256',
- 'hash_key' => 'aasd9asdf093as903s',
- 'lifetime' => 1209600,
- 'session_key' => 'auth_user',
-
- // Username/password combinations for the Auth File driver
- 'users' => array(
- // 'admin' => 'b3154acf3a344170077d11bdb5fff31532f679a1919e716a02',
- ),
-
-);
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE data SYSTEM "../../modules/mopmvc/config/data.dtd">
-<data>
-
- <item templateName="basicCategory">
- <field name="title">Category 1</field>
- <item templateName="basicCategory">
- <field name="title">Category 2</field>
- <item templateName="basicCategory">
- <field name="title">Category 3 A</field>
- </item>
- <item templateName="basicCategory">
- <field name="title">Category 3 B</field>
- <item templateName="basicCategory">
- <field name="title">Category 4 A</field>
- </item>
- <item templateName="basicCategory">
- <field name="title">Category 4 B</field>
- </item>
- <item templateName="basicCategory">
- <field name="title">Category 4 C</field>
- </item>
- </item>
- <item templateName="basicCategory">
- <field name="title">Category 3 C</field>
- </item>
- </item>
- </item>
-
- <item templateName="singleIPE">
- <field name="title">Single IPE</field>
- </item>
-
- <item templateName="multilineIPE">
- <field name="title">Multiline IPE</field>
- </item>
-
- <item templateName="singleRadioGroup">
- <field name="title">Single Radio Group</field>
- </item>
-
- <item templateName="singleCheckbox">
- <field name="title">Single checkbox</field>
- </item>
-
- <item templateName="singleDate">
- <field name="title">Single Date</field>
- </item>
-
- <item templateName="singleTime">
- <field name="title">Single Time</field>
- </item>
-
- <item templateName="singleFile">
- <field name="title">Single File</field>
- <field name="file">testimages/ctoolsAllCases.csv</field>
- </item>
-
- <item templateName="singleImage">
- <field name="title">Single Image</field>
- <field name="file">testimages/29305_390907843268_707068268_4114906_7182725_n.jpg</field>
- <item templateName="singleImage">
- <field name="title">Image Build Test</field>
- <field name="file">testimages/29305_390907843268_707068268_4114906_7182725_n.jpg</field>
- </item>
- </item>
-
- <item templateName="simpleListModule">
- <field name="title">Simple List Module</field>
- <list family="simplelist">
- <item templateName="simpleListModuleItem">
- <field name="title">THIS IS THE TITLE</field>
- </item>
- </list>
- </item>
-
- <item templateName="complexListModule">
- <field name="title">Complex List Module</field>
- </item>
-
- <item templateName="imageListModule">
- <field name="title">Image List</field>
- </item>
-
- <item templateName="fileListModule">
- <field name="title">File List</field>
- </item>
-
- <item templateName="singleAssociator">
- <field name="title">Associator</field>
- </item>
- <item templateName="linkTest">
- <field name="title">Link Test</field>
- <object name="theLink">
- <field name="url">lasdf</field>
- <field name="label">nas as s</field>
- </object>
- </item>
-</data>
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE configuration SYSTEM "../../modules/mopmvc/config/frontend.dtd">
-
-<configuration>
-
- <view name="singleIPE" loadPage="true">
- </view>
-
- <view name="multilineIPE" loadPage="true">
- </view>
-
- <view name="singleRadioGroup" loadPage="true">
- </view>
-
- <view name="singleCheckbox" loadPage="true">
- </view>
-
- <view name="singleDate" loadPage="true">
- </view>
-
- <view name="singleTime" loadPage="true">
- </view>
-
- <view name="singleFile" loadPage="true">
- </view>
-
- <view name="singleImage" loadPage="true">
- </view>
-
- <view name="simpleListModule" loadPage="true">
- </view>
-
- <view name="imageListModule" loadPage="true">
- </view>
-
- <view name="fileListModue" loadPage="true">
- </view>
-
- <view name="complexListModule" loadPage="true">
- </view>
-</configuration>
-
@@ -1,5 +0,0 @@
-<menu>
- <books /> <!-- the idea i had was for these to map to the 'names' in the frontend.xml, or be specific slugs -->
- <contact /> <!-- each item could also have the frontend sub-items in it -->
- <wheretofind /> <!-- somehow this will generate the default code for the menu -->
-</menu>
Oops, something went wrong.

0 comments on commit 0b9eee0

Please sign in to comment.