Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing admin interface as it's not always needed. Renaming modules …

…for app interface
  • Loading branch information...
commit 17124ac39c2214f396b2ab1713a177cc03cdd21f 1 parent 41f2a9f
@viveleroi authored
Showing with 8 additions and 475 deletions.
  1. +2 −2 .htaccess
  2. +0 −8 admin/.htaccess
  3. +0 −13 admin/language/en_US.php
  4. +0 −15 admin/layouts/403.tpl.php
  5. +0 −15 admin/layouts/404.tpl.php
  6. +0 −30 admin/layouts/default.tpl.php
  7. +0 −35 admin/layouts/error.tpl.php
  8. +0 −8 admin/webroot/.htaccess
  9. +0 −12 admin/webroot/css/base.css
  10. BIN  admin/webroot/img/aspen.png
  11. +0 −61 admin/webroot/index.php
  12. +2 −2 app/.htaccess
  13. +1 −1  app/layouts/default.tpl.php
  14. +0 −12 app/webroot/css/base.css
  15. +2 −2 config.sample.php
  16. +0 −228 logs/log
  17. +0 −27 modules/Index/Index_Admin.php
  18. +0 −3  modules/Index/templates_admin/view.tpl.php
  19. +1 −1  modules/Users/{Users_Admin.php → Users_App.php}
  20. 0  modules/Users/{templates_admin → templates_app}/denied.tpl.php
  21. 0  modules/Users/{templates_admin → templates_app}/edit.tpl.php
  22. 0  modules/Users/{templates_admin → templates_app}/forgot.tpl.php
  23. 0  modules/Users/{templates_admin → templates_app}/login.tpl.php
  24. 0  modules/Users/{templates_admin → templates_app}/my_account.tpl.php
  25. 0  modules/Users/{templates_admin → templates_app}/signup.tpl.php
  26. 0  modules/Users/{templates_admin → templates_app}/view.tpl.php
View
4 .htaccess
@@ -3,6 +3,6 @@
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^$ app/webroot/ [L]
- RewriteRule (.*) app/webroot/$1 [L]
+ RewriteRule ^$ app/webroot/ [L]
+ RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
View
8 admin/.htaccess
@@ -1,8 +0,0 @@
-<IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule ^\.htaccess$ - [F]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^$ webroot/ [L]
- RewriteRule (.*) webroot/$1 [L]
- </IfModule>
View
13 admin/language/en_US.php
@@ -1,13 +0,0 @@
-<?php
-$lang['admin']['copyright'] = 'Aspen Framework %s &mdash; Copyright &copy; 2008-'.date('Y').' Trellis Development, LLC';
-$lang['admin']['404:title'] = 'Page Not Found';
-$lang['admin']['404:message'] = 'The page (%s/%s) you have requested could not be found.';
-$lang['admin']['403:title'] = 'Permission Denied';
-$lang['admin']['403:message'] = 'You do not have permission to access the requested resource.';
-$lang['*']['db:display:not_provided'] = 'Not Provided';
-$lang['*']['dberror:title'] = 'Database Connection Error';
-$lang['*']['dberror:message'] = 'An error was encountered when trying to connect to the database.';
-$lang['*']['dberror:datadisplay_init_error'] = 'DataDisplay: Incoming data must be an array.';
-$lang['*']['dberror:datadisplay_call_error'] = 'DataDisplay: Invalid method "%s". Either the method or the array key does not exist.';
-$lang['admin']['app:mod-install-intro'] = 'You have new modules that have not yet been installed.';
-?>
View
15 admin/layouts/403.tpl.php
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <title><?= text('403:title'); ?></title>
- <style>
- body { background-color: #eee; font-family: Georgia, serif; }
- h2 { font-size: 1.2em; margin-left: 25px; }
- </style>
-</head>
-<body>
- <h2><?= text('403:title'); ?></h2>
- <p><?= text('403:message', router()->module(), router()->method()); ?></p>
-</body>
-</html>
View
15 admin/layouts/404.tpl.php
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <title><?= text('404:title'); ?></title>
- <style>
- body { background-color: #eee; font-family: Georgia, serif; }
- h2 { font-size: 1.2em; margin-left: 25px; }
- </style>
-</head>
-<body>
- <h2><?= text('404:title'); ?></h2>
- <p><?= text('404:message', router()->module(), router()->method()); ?></p>
-</body>
-</html>
View
30 admin/layouts/default.tpl.php
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title><?= $this->page_title(); ?></title>
- <meta charset="utf-8">
- <?php //$this->addCss('admin/screen.css'); ?>
- <?php //$this->addCss('admin/ie.css',array('cdtnl_cmt'=>'if IE')); ?>
- <?php $this->loadModuleHeader(); ?>
-</head>
-<body id="<?= $this->body_id(); ?>">
-
- <h1><?= config()->get('application_name'); ?></h1>
-<?php if(user()->isLoggedIn()): ?>
- <span>Logged in as <?= $this->link(session()->getName('first_name'), 'users/my_account'); ?></span>
-<?php endif ?>
-
-<?php if(user()->isLoggedIn()): ?>
- <ul id="nav">
- <?= app()->generateInterfaceMenu(false) ?>
- <li><?= $this->link('Logout', 'users/logout'); ?></li>
- </ul>
-<?php endif; ?>
-
-<?php $this->page(); ?>
-
- <p><?= text('copyright', VERSION); ?></p>
- <?php $this->loadModuleFooter(); ?>
-</body>
-<?= $this->htmlHide(VERSION_COMPLETE); ?>
-</html>
View
35 admin/layouts/error.tpl.php
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <title><?= $error['error_message'] ?></title>
- <style>
- body { background-color: #eee; font-family: Georgia, serif; }
- .inner { margin: 50px 0 0 100px; }
- .inner p { width: 500px; }
- h2 { font-size: 1.2em; margin-left: 25px; }
- .err-box li { list-style: none; margin: 3px 0 }
- .key { display: block; width: 140px; color: #888; float: left; text-align: right; padding-right: 10px; }
- .data { padding-left: 10px; }
- ul.sub { margin-left: 120px; }
- </style>
-</head>
-<body>
- <h2><?= $error['error_message'] ?></h2>
- <ul class="err-box">
- <?php
- foreach($error as $key => $data){
- if(!is_array($data)){
- print '<li><span class="key">'.$key.'</span>&rarr;<span class="data">'.$data.'</span></li>';
- } else {
- print '<li><span class="key">'.$key.'</span>&rarr;<span class="data"><ul class="sub">';
- foreach($data as $sub){
- print '<li><span class="key">'.$sub['function'].'</span>&rarr;<span class="data">'.$sub['file'].' ('.$sub['line'].')</span></li>';
- }
- print '</ul></span></li>';
- }
- }
- ?>
- </ul>
-</body>
-</html>
View
8 admin/webroot/.htaccess
@@ -1,8 +0,0 @@
-<IfModule mod_rewrite.c>
- RewriteEngine on
- Options +FollowSymlinks
- RewriteRule ^\.htaccess$ - [F]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php?redirected=$1 [QSA,L]
-</IfModule>
View
12 admin/webroot/css/base.css
@@ -1,12 +0,0 @@
-/*
- Document : base.css
- Created on : Feb 28, 2012, 5:13:29 PM
- Author : botskonet
- Description:
- Purpose of the stylesheet follows.
-*/
-
-root {
- display: block;
-}
-
View
BIN  admin/webroot/img/aspen.png
Deleted file not rendered
View
61 admin/webroot/index.php
@@ -1,61 +0,0 @@
-<?php
-
-// define the name of our app instance
-// leave this blank if root instance, i.e. app
-// not running in a subdirectory
-$folder = explode( "/", dirname(__FILE__) );
-$app_name = $folder[ (count($folder) - 2) ];
-define('LOADING_SECTION', ucwords( $app_name ));
-define('DS', DIRECTORY_SEPARATOR);
-
-// set execution start time
-define('EXECUTION_START', microtime());
-
-// Here are our application file path definitions. Unless
-// you're varying from the default install, these should not
-// need to be changed.
-
-define('BASE_PATH', str_replace("/". $app_name . "/webroot", "", dirname(__FILE__)) );
-
-// define the file path to our system directory
-if(file_exists(BASE_PATH . '/system')){
- define('SYSTEM_PATH', BASE_PATH . '/system');
-} else {
- define('SYSTEM_PATH', str_replace(strtolower(LOADING_SECTION), '', BASE_PATH . 'system'));
-}
-
-// define the file path to our root application directory
-define('APPLICATION_PATH', str_replace(DS . "system", '', SYSTEM_PATH)); // path to the entire application root
-define('MODULES_PATH', APPLICATION_PATH . DS . 'modules');
-define('PLUGINS_PATH', APPLICATION_PATH . DS . 'plugins');
-
-// here we'll quicly check for absolute minimal php5 support
-if(version_compare(phpversion(), "5.3.0", 'ge')){
-
- // include the bootstrap file
- include(SYSTEM_PATH . DS . 'bootstrap.php');
-
- // quickly, we need to run any pre-bootstrap plugin hooks
-
- // pull a list of plugins
- $plugins = Bootstrap::parsePluginRegistries();
-
- // load plugins with hooks we're calling next
- Bootstrap::callPluginHook('before_bootstrap_execute', $plugins);
-
- // Run the config loader - which returns complete Default -> App -> Config object.
- include(SYSTEM_PATH . DS . 'config' . DS . 'ConfigLoader.php');
- $config = ConfigLoader::load();
-
- // load the application system class
- if(!class_exists('App')){
- require(SYSTEM_PATH . DS . 'app' . DS . 'App.php');
- }
-
- // create an instance of our entire app
- $application = new App($config);
-
-} else {
- trigger_error('This application requires PHP 5.3+. Please upgrade your version of PHP.', E_USER_ERROR);
-}
-?>
View
4 app/.htaccess
@@ -3,6 +3,6 @@
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^$ webroot/ [L]
- RewriteRule (.*) webroot/$1 [L]
+ RewriteRule ^$ webroot/ [L]
+ RewriteRule (.*) webroot/$1 [L]
</IfModule>
View
2  app/layouts/default.tpl.php
@@ -3,7 +3,7 @@
<head>
<title><?= $this->page_title(); ?></title>
<meta charset="utf-8">
- <?php $this->add_resource( new Aspen_Css('css/base.css') ); ?>
+ <?php //$this->add_resource( new Aspen_Css('css/base.css') ); ?>
<?php $this->loadModuleHeader(); ?>
</head>
<body id="<?= $this->body_id(); ?>">
View
12 app/webroot/css/base.css
@@ -1,12 +0,0 @@
-/*
- Document : base.css
- Created on : Feb 28, 2012, 5:13:29 PM
- Author : botskonet
- Description:
- Purpose of the stylesheet follows.
-*/
-
-root {
- display: block;
-}
-
View
4 config.sample.php
@@ -45,7 +45,7 @@ protected function production( $config ){
/**
- * Production Server
+ * Staging Server
* @return type
*/
protected function staging($config){
@@ -61,7 +61,7 @@ protected function staging($config){
/**
- * Production Server
+ * Development Server
* @return type
*/
protected function development($config){
View
228 logs/log
@@ -1,228 +0,0 @@
-Logging has been activated at 2012-02-29 01:57:04.880644.
-
-++======================================================++
-++ Constants
-++======================================================++
-Constant LOADING_SECTION was set to a value of: App
-Constant DS was set to a value of: /
-Constant EXECUTION_START was set to a value of: 0.88064400 1330480624
-Constant BASE_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework
-Constant SYSTEM_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework/system
-Constant APPLICATION_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework
-Constant MODULES_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework/modules
-Constant PLUGINS_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework/plugins
-Constant FRAMEWORK_REV was set to a value of: Git-Version
-Constant APP_CONFIG_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework/app.default.config.php
-Constant APP_CONFIG_LOADED was set to a value of: 1
-Constant CONFIG_PREFIX was set to a value of:
-Constant USER_CONFIG_LOADED was set to a value of: 1
-Constant LS was set to a value of: app
-Constant INTERFACE_PATH was set to a value of: /Users/botskonet/Sites/aspen-framework/app
-Constant INCLUDE_ONLY was set to a value of:
-Constant VERSION was set to a value of: 2.0
-Constant BUILD was set to a value of:
-Constant VERSION_COMPLETE was set to a value of: v2.0 b Aspen-Git-Version
-Constant _ADODB_LAYER was set to a value of: 1
-Constant ADODB_DIR was set to a value of: /Users/botskonet/Sites/aspen-framework/system/adodb
-Constant ADODB_FORCE_IGNORE was set to a value of: 0
-Constant ADODB_FORCE_NULL was set to a value of: 1
-Constant ADODB_FORCE_EMPTY was set to a value of: 2
-Constant ADODB_FORCE_VALUE was set to a value of: 3
-Constant ADODB_BAD_RS was set to a value of: <p>Bad $rs in %s. Connection or SQL invalid. Try using $connection->debug=true;</p>
-Constant ADODB_TABLE_REGEX was set to a value of: ([]0-9a-z_\:\"\`\.\@\[-]*)
-Constant ADODB_PREFETCH_ROWS was set to a value of: 10
-Constant ADODB_FETCH_DEFAULT was set to a value of: 0
-Constant ADODB_FETCH_NUM was set to a value of: 1
-Constant ADODB_FETCH_ASSOC was set to a value of: 2
-Constant ADODB_FETCH_BOTH was set to a value of: 3
-Constant TIMESTAMP_FIRST_YEAR was set to a value of: 100
-Constant ADODB_PHPVER was set to a value of: 20992
-Constant ADODB_DATE_VERSION was set to a value of: 0.35
-Constant ADODB_NO_NEGATIVE_TS was set to a value of: 1
-Constant ADODB_ASSOC_CASE was set to a value of: 2
-Constant _ADODB_MYSQL_LAYER was set to a value of: 1
-Constant DATE_FORMAT was set to a value of: Y-m-d H:i:s
-Constant DATE_EMPTY was set to a value of: 0000-00-00 00:00:00
-Constant HTMLPURIFIER_PREFIX was set to a value of: /Users/botskonet/Sites/aspen-framework/system/security/Htmlpurifier/standalone
-
-++======================================================++
-++ Configurations
-++======================================================++
-Config application_name was set to a value of: Aspen Framework
-Config application_guid was set to a value of: 8266f8e0-204d-11dd-bd0b-0800200c9a66
-Config application_version was set to a value of: 2.0
-Config application_url was set to a value of:
-Config db_username was set to a value of: root
-Config db_password was set to a value of:
-Config db_database was set to a value of: aspen_2_0
-Config db_hostname was set to a value of: 127.0.0.1
-Config db_extension was set to a value of: mysql
-Config enable_languages was set to a value of: 1
-Config language was set to a value of: en_US
-Config enable_mod_rewrite was set to a value of: 1
-Config bypass_apache_modrewrite_check was set to a value of:
-Config default_module was set to a value of: Index
-Config usergroup_default_modules was set to a value of: a:0:{}
-Config default_module_no_config was set to a value of: Index_Admin
-Config default_method was set to a value of: view
-Config post_login_redirect was set to a value of: 1
-Config lowercase_urls was set to a value of: 1
-Config static_content_url was set to a value of:
-Config print_js_variables was set to a value of: 1
-Config email_sender was set to a value of: noreply@127.0.0.1
-Config email_sender_name was set to a value of: noreply@127.0.0.1
-Config password_reset_subject was set to a value of: 127.0.0.1 Password Reset Form
-Config password_reset_body was set to a value of: Hello,<br /><br />Your password has been reset to {new_pass}.
-Config minimum_displayable_error was set to a value of: 1
-Config save_error_to_db was set to a value of: 1
-Config minimum_version_php was set to a value of: 5.1.0
-Config log_error_on_404 was set to a value of: 1
-Config log_query_backtrace was set to a value of:
-Config error_json_post_url was set to a value of:
-Config error_json_post_api_key was set to a value of:
-Config error_json_post_proj_id was set to a value of: 0
-Config timezone was set to a value of: GMT
-Config date_format was set to a value of: H:i:s d-M-Y T
-Config currency_format was set to a value of: %n
-Config currency_locale was set to a value of: en_US
-Config enable_authentication_support was set to a value of: 1
-Config authentication_cookie_expires was set to a value of: 1333072624
-Config require_form_token_auth was set to a value of:
-Config sml_message_html was set to a value of: <p class="%2$s">%1$s</p>
-Config form_error_wrapping_html was set to a value of: <ul class="error">%s</ul>
-Config form_error_line_html was set to a value of: <li>%s</li>
-Config pagination_show_page_numbers was set to a value of: 1
-Config pagination_link_limit was set to a value of: 5
-Config pagination_per_page was set to a value of: 25
-Config preference_configs_to_edit was set to a value of: a:0:{}
-Config html_purifier_settings was set to a value of: a:0:{}
-Config html_purifier_custom_filters was set to a value of:
-Config mysql_field_group_dec was set to a value of: a:3:{i:0;s:5:"float";i:1;s:6:"double";i:2;s:7:"decimal";}
-Config mysql_field_group_int was set to a value of: a:5:{i:0;s:7:"tinyint";i:1;s:3:"int";i:2;s:8:"smallint";i:3;s:9:"mediumint";i:4;s:6:"bigint";}
-Config mysql_field_group_text was set to a value of: a:10:{i:0;s:4:"char";i:1;s:7:"varchar";i:2;s:4:"text";i:3;s:8:"tinytext";i:4;s:10:"mediumtext";i:5;s:8:"longtext";i:6;s:8:"tinyblob";i:7;s:4:"blob";i:8;s:10:"mediumblob";i:9;s:8:"longblob";}
-Config mysql_field_group_date was set to a value of: a:5:{i:0;s:4:"date";i:1;s:8:"datetime";i:2;s:9:"timestamp";i:3;s:4:"time";i:4;s:4:"year";}
-Config allowed_file_extensions was set to a value of: a:4:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";}
-Config enable_uploads was set to a value of:
-Config upload_server_path was set to a value of: /Users/botskonet/Sites/aspen-framework//configuploads
-Config upload_browser_path was set to a value of:
-Config upload_max_file_size was set to a value of: 2000000
-Config allow_session_id_from_query was set to a value of:
-Config enable_logging was set to a value of: true
-Config timestamp_log_file was set to a value of:
-Config log_verbosity was set to a value of: 1
-Config log_dir was set to a value of: /Users/botskonet/Sites/aspen-framework/logs
-Config models was set to a value of: a:1:{s:6:"config";a:1:{s:4:"root";s:54:"/Users/botskonet/Sites/aspen-framework/system/settings";}}
-Config load_core_class was set to a value of: a:24:{i:0;a:3:{s:9:"classname";s:9:"Peregrine";s:6:"folder";s:8:"security";s:3:"var";s:6:"params";}i:1;a:1:{s:9:"classname";s:8:"Security";}i:2;a:3:{s:9:"classname";s:6:"Phpass";s:6:"folder";s:8:"security";s:8:"autoload";b:0;}i:3;a:2:{s:9:"classname";s:5:"Utils";s:8:"autoload";b:0;}i:4;a:1:{s:9:"classname";s:4:"Date";}i:5;a:1:{s:9:"classname";s:4:"User";}i:6;a:2:{s:9:"classname";s:6:"Router";s:8:"autoload";b:0;}i:7;a:1:{s:9:"classname";s:8:"Template";}i:8;a:4:{s:9:"classname";s:14:"Aspen_Resource";s:8:"autoload";b:0;s:8:"filename";s:14:"Aspen_Resource";s:6:"folder";s:8:"template";}i:9;a:4:{s:9:"classname";s:16:"Aspen_Javascript";s:8:"autoload";b:0;s:8:"filename";s:16:"Aspen_Javascript";s:6:"folder";s:8:"template";}i:10;a:4:{s:9:"classname";s:9:"Aspen_Css";s:8:"autoload";b:0;s:8:"filename";s:9:"Aspen_Css";s:6:"folder";s:8:"template";}i:11;a:4:{s:9:"classname";s:11:"DataDisplay";s:8:"autoload";b:0;s:8:"filename";s:11:"DataDisplay";s:6:"folder";s:8:"template";}i:12;a:3:{s:9:"classname";s:5:"Error";s:6:"folder";s:6:"errors";s:8:"autoload";b:0;}i:13;a:2:{s:9:"classname";s:4:"File";s:6:"folder";s:5:"files";}i:14;a:4:{s:9:"classname";s:12:"HTMLPurifier";s:6:"folder";s:21:"security/Htmlpurifier";s:3:"var";s:4:"html";s:8:"autoload";b:0;}i:15;a:1:{s:9:"classname";s:3:"Log";}i:16;a:1:{s:9:"classname";s:5:"Model";}i:17;a:3:{s:9:"classname";s:9:"Inflector";s:8:"autoload";b:0;s:6:"folder";s:5:"utils";}i:18;a:1:{s:9:"classname";s:6:"Module";}i:19;a:3:{s:9:"classname";s:9:"PHPMailer";s:3:"var";s:4:"mail";s:8:"filename";s:15:"class.phpmailer";}i:20;a:1:{s:9:"classname";s:8:"Settings";}i:21;a:1:{s:9:"classname";s:3:"Sml";}i:22;a:2:{s:9:"classname";s:4:"Form";s:8:"autoload";b:0;}i:23;a:2:{s:9:"classname";s:11:"Preferences";s:3:"var";s:5:"prefs";}}
-Config application_build was set to a value of:
-
-++======================================================++
-++ Loaded System Libraries
-++======================================================++
-Library Class ADONewConnection was loaded.
-Library Class Peregrine was loaded.
-Library Class Security was loaded.
-Library Class Phpass was loaded.
-Library Class Utils was loaded.
-Library Class Date was loaded.
-Library Class User was loaded.
-Library Class Router was loaded.
-Library Class Template was loaded.
-Library Class Aspen_Resource was loaded.
-Library Class Aspen_Javascript was loaded.
-Library Class Aspen_Css was loaded.
-Library Class DataDisplay was loaded.
-Library Class Error was loaded.
-Library Class File was loaded.
-Library Class HTMLPurifier was loaded.
-Library Class Log was loaded.
-Library Class Model was loaded.
-Library Class Inflector was loaded.
-Library Class Module was loaded.
-Library Class PHPMailer was loaded.
-Library Class Settings was loaded.
-Library Class Sml was loaded.
-Library Class Form was loaded.
-Library Class Preferences was loaded.
-
-++======================================================++
-++ Session Data
-++======================================================++
-Session_id: 6jou0r2phmrnj3n7b1rcuoh420
-$_SESSION['referring_page'] = http://127.0.0.1/
-
-++======================================================++
-++ POST Data
-++======================================================++
-
-++======================================================++
-++ GET Data
-++======================================================++
-
-++======================================================++
-++ SERVER Data
-++======================================================++
-$_SERVER['REDIRECT_STATUS'] = 200
-$_SERVER['HTTP_HOST'] = 127.0.0.1
-$_SERVER['HTTP_USER_AGENT'] = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
-$_SERVER['HTTP_ACCEPT'] = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
-$_SERVER['HTTP_ACCEPT_LANGUAGE'] = en-us,en;q=0.5
-$_SERVER['HTTP_ACCEPT_ENCODING'] = gzip, deflate
-$_SERVER['HTTP_CONNECTION'] = keep-alive
-$_SERVER['HTTP_REFERER'] = http://127.0.0.1/
-$_SERVER['HTTP_COOKIE'] = PHPSESSID=6jou0r2phmrnj3n7b1rcuoh420
-$_SERVER['HTTP_CACHE_CONTROL'] = max-age=0
-$_SERVER['PATH'] = /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin
-$_SERVER['SERVER_SIGNATURE'] =
-$_SERVER['SERVER_SOFTWARE'] = Apache/2.2.20 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r PHP/5.3.8
-$_SERVER['SERVER_NAME'] = 127.0.0.1
-$_SERVER['SERVER_ADDR'] = 127.0.0.1
-$_SERVER['SERVER_PORT'] = 80
-$_SERVER['REMOTE_ADDR'] = 127.0.0.1
-$_SERVER['DOCUMENT_ROOT'] = /Users/botskonet/Sites
-$_SERVER['SERVER_ADMIN'] = you@example.com
-$_SERVER['SCRIPT_FILENAME'] = /Users/botskonet/Sites/aspen-framework/app/webroot/index.php
-$_SERVER['REMOTE_PORT'] = 50478
-$_SERVER['REDIRECT_URL'] = /aspen-framework/
-$_SERVER['GATEWAY_INTERFACE'] = CGI/1.1
-$_SERVER['SERVER_PROTOCOL'] = HTTP/1.1
-$_SERVER['REQUEST_METHOD'] = GET
-$_SERVER['QUERY_STRING'] =
-$_SERVER['REQUEST_URI'] = /aspen-framework/
-$_SERVER['SCRIPT_NAME'] = /aspen-framework/app/webroot/index.php
-$_SERVER['PHP_SELF'] = /aspen-framework/app/webroot/index.php
-$_SERVER['REQUEST_TIME'] = 1330480624
-
-++======================================================++
-++ FILES Data
-++======================================================++
-
-++======================================================++
-++ Router Urls & Paths
-++======================================================++
-Router::domainUrl set to: http://127.0.0.1
-Router::appUrl set to: http://127.0.0.1/aspen-framework
-Router::getPath set to: /aspen-framework
-Router::interfaceUrl set to: http://127.0.0.1/aspen-framework/app
-Router::staticUrl set to: http://127.0.0.1/aspen-framework/app
-Router::fullUrl set to: http://127.0.0.1/aspen-framework/
-
-++======================================================++
-++ Bootstrap
-++======================================================++
-Installed checks returned true
-Found user config file.
-Database connection is up and running.
-No target application set for Index module, IGNORING.
-Loading Module: Index_App
-Calling module hooks for: Index_App
-Seeking module language library /Users/botskonet/Sites/aspen-framework/modules/Users/language/en_US.php
-Including module language library /Users/botskonet/Sites/aspen-framework/modules/Users/language/en_US.php
-SELECT users.* FROM users ORDER BY users.id ASC
-Seeking interface language library /Users/botskonet/Sites/aspen-framework/app/language/en_US.php
-Including interface language library /Users/botskonet/Sites/aspen-framework/app/language/en_US.php
-Seeking module language library /Users/botskonet/Sites/aspen-framework/modules/Index/language/en_US.php
-Including module language library /Users/botskonet/Sites/aspen-framework/modules/Index/language/en_US.php
-Looking for Module: Index_App->view
-Running Module: Index_App->view
-Including layout /Users/botskonet/Sites/aspen-framework/app/layouts/default.tpl.php
-Including template /Users/botskonet/Sites/aspen-framework/modules/Index/templates_app/view.tpl.php
View
27 modules/Index/Index_Admin.php
@@ -1,27 +0,0 @@
-<?php
-
-/**
- * @package Aspen_Framework
- * @subpackage Modules.Base
- * @author Michael Botsko
- * @copyright 2009 Trellis Development, LLC
- * @since 1.0
- */
-
-/**
- * Displays the default dashboard/welcome screens
- * @package Aspen_Framework
- * @uses Module
- */
-class Index_Admin extends Module {
-
-
- /**
- * Loads our default dashboard screen
- * @access public
- */
- public function view(){
- template()->display();
- }
-}
-?>
View
3  modules/Index/templates_admin/view.tpl.php
@@ -1,3 +0,0 @@
-<h2><?= text('index:view:page-title'); ?></h2>
-<?= sml()->printMessage(); ?>
-<p><em><?= text('index:view:intro'); ?></em></p>
View
2  modules/Users/Users_Admin.php → modules/Users/Users_App.php
@@ -13,7 +13,7 @@
* @package Aspen_Framework
* @uses Module
*/
-class Users_Admin extends Module {
+class Users_App extends Module {
/**
View
0  modules/Users/templates_admin/denied.tpl.php → modules/Users/templates_app/denied.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/edit.tpl.php → modules/Users/templates_app/edit.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/forgot.tpl.php → modules/Users/templates_app/forgot.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/login.tpl.php → modules/Users/templates_app/login.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/my_account.tpl.php → modules/Users/templates_app/my_account.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/signup.tpl.php → modules/Users/templates_app/signup.tpl.php
File renamed without changes
View
0  modules/Users/templates_admin/view.tpl.php → modules/Users/templates_app/view.tpl.php
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.