mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
0
data/symfony/skeleton/project/apps/.sf
Executable file
0
data/symfony/skeleton/project/apps/.sf
Executable file
0
data/symfony/skeleton/project/batch/.sf
Executable file
0
data/symfony/skeleton/project/batch/.sf
Executable file
0
data/symfony/skeleton/project/cache/.sf
vendored
Executable file
0
data/symfony/skeleton/project/cache/.sf
vendored
Executable file
5
data/symfony/skeleton/project/config/config.php
Executable file
5
data/symfony/skeleton/project/config/config.php
Executable file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
// symfony directories
|
||||
$sf_symfony_lib_dir = '##SYMFONY_LIB_DIR##';
|
||||
$sf_symfony_data_dir = '##SYMFONY_DATA_DIR##';
|
5
data/symfony/skeleton/project/config/databases.yml
Executable file
5
data/symfony/skeleton/project/config/databases.yml
Executable file
@ -0,0 +1,5 @@
|
||||
#all:
|
||||
# propel:
|
||||
# class: sfPropelDatabase
|
||||
# param:
|
||||
# dsn: mysql://root:@localhost/dbname
|
44
data/symfony/skeleton/project/config/propel.ini
Executable file
44
data/symfony/skeleton/project/config/propel.ini
Executable file
@ -0,0 +1,44 @@
|
||||
propel.targetPackage = lib.model
|
||||
propel.packageObjectModel = true
|
||||
propel.project = ##PROJECT_NAME##
|
||||
propel.database = mysql
|
||||
propel.database.createUrl = mysql://localhost/
|
||||
propel.database.url = mysql://localhost/##PROJECT_NAME##
|
||||
|
||||
propel.addGenericAccessors = true
|
||||
propel.addGenericMutators = true
|
||||
propel.addTimeStamp = false
|
||||
|
||||
propel.schema.validate = false
|
||||
|
||||
; directories
|
||||
propel.home = .
|
||||
propel.output.dir = ##PROJECT_DIR##
|
||||
propel.schema.dir = ${propel.output.dir}/config
|
||||
propel.conf.dir = ${propel.output.dir}/config
|
||||
propel.phpconf.dir = ${propel.output.dir}/config
|
||||
propel.sql.dir = ${propel.output.dir}/data/sql
|
||||
propel.runtime.conf.file = runtime-conf.xml
|
||||
propel.php.dir = ${propel.output.dir}
|
||||
propel.default.schema.basename = schema
|
||||
propel.datadump.mapper.from = *schema.xml
|
||||
propel.datadump.mapper.to = *data.xml
|
||||
|
||||
; builder settings
|
||||
propel.builder.peer.class = addon.propel.builder.SfPeerBuilder
|
||||
propel.builder.object.class = addon.propel.builder.SfObjectBuilder
|
||||
|
||||
propel.builder.objectstub.class = addon.propel.builder.SfExtensionObjectBuilder
|
||||
propel.builder.peerstub.class = addon.propel.builder.SfExtensionPeerBuilder
|
||||
propel.builder.objectmultiextend.class = addon.propel.builder.SfMultiExtendObjectBuilder
|
||||
propel.builder.mapbuilder.class = addon.propel.builder.SfMapBuilderBuilder
|
||||
propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder
|
||||
propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder
|
||||
propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder
|
||||
propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder
|
||||
propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder
|
||||
|
||||
propel.builder.addIncludes = false
|
||||
propel.builder.addComments = false
|
||||
|
||||
propel.builder.addBehaviors = false
|
2
data/symfony/skeleton/project/config/properties.ini
Executable file
2
data/symfony/skeleton/project/config/properties.ini
Executable file
@ -0,0 +1,2 @@
|
||||
[symfony]
|
||||
name=##PROJECT_NAME##
|
4
data/symfony/skeleton/project/config/rsync_exclude.txt
Executable file
4
data/symfony/skeleton/project/config/rsync_exclude.txt
Executable file
@ -0,0 +1,4 @@
|
||||
.svn
|
||||
/web/uploads/*
|
||||
/cache/*
|
||||
/log/*
|
0
data/symfony/skeleton/project/config/schema.yml
Executable file
0
data/symfony/skeleton/project/config/schema.yml
Executable file
0
data/symfony/skeleton/project/data/.sf
Executable file
0
data/symfony/skeleton/project/data/.sf
Executable file
0
data/symfony/skeleton/project/data/model/.sf
Executable file
0
data/symfony/skeleton/project/data/model/.sf
Executable file
0
data/symfony/skeleton/project/data/sql/.sf
Executable file
0
data/symfony/skeleton/project/data/sql/.sf
Executable file
0
data/symfony/skeleton/project/doc/.sf
Executable file
0
data/symfony/skeleton/project/doc/.sf
Executable file
0
data/symfony/skeleton/project/lib/.sf
Executable file
0
data/symfony/skeleton/project/lib/.sf
Executable file
0
data/symfony/skeleton/project/lib/model/.sf
Executable file
0
data/symfony/skeleton/project/lib/model/.sf
Executable file
0
data/symfony/skeleton/project/log/.sf
Executable file
0
data/symfony/skeleton/project/log/.sf
Executable file
0
data/symfony/skeleton/project/plugins/.sf
Executable file
0
data/symfony/skeleton/project/plugins/.sf
Executable file
14
data/symfony/skeleton/project/symfony
Executable file
14
data/symfony/skeleton/project/symfony
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the symfony package.
|
||||
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
chdir(dirname(__FILE__));
|
||||
include('config/config.php');
|
||||
include($sf_symfony_data_dir.'/bin/symfony.php');
|
0
data/symfony/skeleton/project/test/.sf
Executable file
0
data/symfony/skeleton/project/test/.sf
Executable file
29
data/symfony/skeleton/project/test/bootstrap/functional.php
Executable file
29
data/symfony/skeleton/project/test/bootstrap/functional.php
Executable file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the symfony package.
|
||||
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
// guess current application
|
||||
if (!isset($app))
|
||||
{
|
||||
$traces = debug_backtrace();
|
||||
$caller = $traces[0];
|
||||
$app = array_pop(explode(DIRECTORY_SEPARATOR, dirname($caller['file'])));
|
||||
}
|
||||
|
||||
// define symfony constant
|
||||
define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/../..'));
|
||||
define('SF_APP', $app);
|
||||
define('SF_ENVIRONMENT', 'test');
|
||||
define('SF_DEBUG', true);
|
||||
|
||||
// initialize symfony
|
||||
require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
|
||||
|
||||
// remove all cache
|
||||
sfToolkit::clearDirectory(sfConfig::get('sf_cache_dir'));
|
17
data/symfony/skeleton/project/test/bootstrap/unit.php
Executable file
17
data/symfony/skeleton/project/test/bootstrap/unit.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the symfony package.
|
||||
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
$_test_dir = realpath(dirname(__FILE__).'/..');
|
||||
define('SF_ROOT_DIR', realpath($_test_dir.'/..'));
|
||||
|
||||
// symfony directories
|
||||
include(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
|
||||
|
||||
require_once($sf_symfony_lib_dir.'/vendor/lime/lime.php');
|
0
data/symfony/skeleton/project/test/functional/.sf
Executable file
0
data/symfony/skeleton/project/test/functional/.sf
Executable file
0
data/symfony/skeleton/project/test/unit/.sf
Executable file
0
data/symfony/skeleton/project/test/unit/.sf
Executable file
25
data/symfony/skeleton/project/web/.htaccess
Executable file
25
data/symfony/skeleton/project/web/.htaccess
Executable file
@ -0,0 +1,25 @@
|
||||
Options +FollowSymLinks +ExecCGI
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# uncomment the following line, if you are having trouble
|
||||
# getting no_script_name to work
|
||||
#RewriteBase /
|
||||
|
||||
# we skip all files with .something
|
||||
RewriteCond %{REQUEST_URI} \..+$
|
||||
RewriteCond %{REQUEST_URI} !\.html$
|
||||
RewriteRule .* - [L]
|
||||
|
||||
# we check if the .html version is here (caching)
|
||||
RewriteRule ^$ index.html [QSA]
|
||||
RewriteRule ^([^.]+)$ $1.html [QSA]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
||||
# no, so we redirect to our front web controller
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
</IfModule>
|
||||
|
||||
# big crash from our front web controller
|
||||
ErrorDocument 500 "<h2>Application error</h2>symfony application failed to start properly"
|
27
data/symfony/skeleton/project/web/css/main.css
Executable file
27
data/symfony/skeleton/project/web/css/main.css
Executable file
@ -0,0 +1,27 @@
|
||||
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
|
||||
{ margin: 0; padding: 0; }
|
||||
a img,:link img,:visited img { border: none; }
|
||||
|
||||
a
|
||||
{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
body, td
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, Verdana, sans-serif;
|
||||
font-size: 11px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
padding: 20px;
|
||||
}
|
0
data/symfony/skeleton/project/web/images/.sf
Executable file
0
data/symfony/skeleton/project/web/images/.sf
Executable file
0
data/symfony/skeleton/project/web/js/.sf
Executable file
0
data/symfony/skeleton/project/web/js/.sf
Executable file
2
data/symfony/skeleton/project/web/robots.txt
Executable file
2
data/symfony/skeleton/project/web/robots.txt
Executable file
@ -0,0 +1,2 @@
|
||||
#User-agent: *
|
||||
#Disallow:
|
0
data/symfony/skeleton/project/web/uploads/.sf
Executable file
0
data/symfony/skeleton/project/web/uploads/.sf
Executable file
0
data/symfony/skeleton/project/web/uploads/assets/.sf
Executable file
0
data/symfony/skeleton/project/web/uploads/assets/.sf
Executable file
Reference in New Issue
Block a user