Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Haberkern authored and Timo Haberkern committed Mar 31, 2010
0 parents commit e0b93f9
Show file tree
Hide file tree
Showing 39 changed files with 535 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/backend/config/app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App

# default values
#all:
8 changes: 8 additions & 0 deletions apps/backend/config/backendConfiguration.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

class backendConfiguration extends sfApplicationConfiguration
{
public function configure()
{
}
}
7 changes: 7 additions & 0 deletions apps/backend/config/cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/09-Cache

default:
enabled: false
with_layout: false
lifetime: 86400
42 changes: 42 additions & 0 deletions apps/backend/config/factories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/05-Factories

prod:
logger:
class: sfNoLogger
param:
level: err
loggers: ~

test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions

response:
class: sfWebResponse
param:
send_http_headers: false

mailer:
param:
delivery_strategy: none

dev:
mailer:
param:
delivery_strategy: none

all:
routing:
class: sfPatternRouting
param:
generate_shortest_url: true
extra_parameters_as_query_string: true

view_cache_manager:
class: sfViewCacheManager
param:
cache_key_use_vary_headers: true
cache_key_use_host_name: true
10 changes: 10 additions & 0 deletions apps/backend/config/filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/12-Filters

rendering: ~
security: ~

# insert your own filters here

cache: ~
execution: ~
16 changes: 16 additions & 0 deletions apps/backend/config/routing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/10-Routing

# default rules
homepage:
url: /
param: { module: default, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
url: /:module
param: { action: index }

default:
url: /:module/:action/*
5 changes: 5 additions & 0 deletions apps/backend/config/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/08-Security

default:
is_secure: false
35 changes: 35 additions & 0 deletions apps/backend/config/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/04-Settings

prod:
.settings:
no_script_name: false
logging_enabled: false

dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
web_debug: true
cache: false
no_script_name: false
etag: false

test:
.settings:
error_reporting: <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
cache: false
web_debug: false
no_script_name: false
etag: false

all:
.settings:
# Form security secret (CSRF protection)
csrf_secret: 8ea0df627e1ed28cc437bb89735e61f779cba92b

# Output escaping settings
escaping_strategy: true
escaping_method: ESC_SPECIALCHARS

# Enable the database manager
use_database: true
20 changes: 20 additions & 0 deletions apps/backend/config/view.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/13-View

default:
http_metas:
content-type: text/html

metas:
#title: symfony project
#description: symfony project
#keywords: symfony, project
#language: en
#robots: index, follow

stylesheets: [main.css]

javascripts: []

has_layout: true
layout: layout
5 changes: 5 additions & 0 deletions apps/backend/lib/myUser.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

class myUser extends sfBasicSecurityUser
{
}
14 changes: 14 additions & 0 deletions apps/backend/templates/layout.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>
<?php echo $sf_content ?>
</body>
</html>
5 changes: 5 additions & 0 deletions apps/frontend/config/app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App

# default values
#all:
7 changes: 7 additions & 0 deletions apps/frontend/config/cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/09-Cache

default:
enabled: false
with_layout: false
lifetime: 86400
42 changes: 42 additions & 0 deletions apps/frontend/config/factories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/05-Factories

prod:
logger:
class: sfNoLogger
param:
level: err
loggers: ~

test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions

response:
class: sfWebResponse
param:
send_http_headers: false

mailer:
param:
delivery_strategy: none

dev:
mailer:
param:
delivery_strategy: none

all:
routing:
class: sfPatternRouting
param:
generate_shortest_url: true
extra_parameters_as_query_string: true

view_cache_manager:
class: sfViewCacheManager
param:
cache_key_use_vary_headers: true
cache_key_use_host_name: true
10 changes: 10 additions & 0 deletions apps/frontend/config/filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/12-Filters

rendering: ~
security: ~

# insert your own filters here

cache: ~
execution: ~
8 changes: 8 additions & 0 deletions apps/frontend/config/frontendConfiguration.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

class frontendConfiguration extends sfApplicationConfiguration
{
public function configure()
{
}
}
16 changes: 16 additions & 0 deletions apps/frontend/config/routing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/10-Routing

# default rules
homepage:
url: /
param: { module: default, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
url: /:module
param: { action: index }

default:
url: /:module/:action/*
5 changes: 5 additions & 0 deletions apps/frontend/config/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/08-Security

default:
is_secure: false
35 changes: 35 additions & 0 deletions apps/frontend/config/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/04-Settings

prod:
.settings:
no_script_name: true
logging_enabled: false

dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
web_debug: true
cache: false
no_script_name: false
etag: false

test:
.settings:
error_reporting: <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
cache: false
web_debug: false
no_script_name: false
etag: false

all:
.settings:
# Form security secret (CSRF protection)
csrf_secret: abdc2b17fd46d220f74c8fb3db61e897fb17fafe

# Output escaping settings
escaping_strategy: true
escaping_method: ESC_SPECIALCHARS

# Enable the database manager
use_database: true
20 changes: 20 additions & 0 deletions apps/frontend/config/view.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/13-View

default:
http_metas:
content-type: text/html

metas:
#title: symfony project
#description: symfony project
#keywords: symfony, project
#language: en
#robots: index, follow

stylesheets: [main.css]

javascripts: []

has_layout: true
layout: layout
5 changes: 5 additions & 0 deletions apps/frontend/lib/myUser.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

class myUser extends sfBasicSecurityUser
{
}
14 changes: 14 additions & 0 deletions apps/frontend/templates/layout.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>
<?php echo $sf_content ?>
</body>
</html>
12 changes: 12 additions & 0 deletions config/ProjectConfiguration.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

require_once 'C:\\Program Files\\Zend\\ZendServer\\bin\\PEAR\\symfony/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->enablePlugins('sfDoctrinePlugin');
}
}
10 changes: 10 additions & 0 deletions config/databases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/07-Databases

all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: mysql:host=localhost;dbname=TimeBoxx
username: root
password:
Empty file added config/doctrine/schema.yml
Empty file.
4 changes: 4 additions & 0 deletions config/properties.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[symfony]
name=TimeBoxx
author=Your name here
orm=Doctrine
Loading

0 comments on commit e0b93f9

Please sign in to comment.