-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John-Henrique
committed
Jul 26, 2011
1 parent
0b63273
commit 8e74562
Showing
2,709 changed files
with
340,638 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
php_value memory_limit 128M | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^$ app/webroot/ [L] | ||
RewriteRule (.*) app/webroot/$1 [L] | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<script type="text/javascript"> | ||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
</script> | ||
<script type="text/javascript"> | ||
try { | ||
var pageTracker = _gat._getTracker("UA-15383639-3"); | ||
pageTracker._trackPageview(); | ||
} catch(err) {}</script> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# App | ||
config/database.php | ||
config/settings.yml | ||
plugins/debug_kit/ | ||
plugins/migrations/ | ||
vendors/simpletest/ | ||
views/themed/ | ||
webroot/uploads/ | ||
|
||
# Cake cache | ||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "locale"] | ||
path = locale | ||
url = git://github.com/croogo/locale.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^$ webroot/ [L] | ||
RewriteRule (.*) webroot/$1 [L] | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License | ||
|
||
Croogo : A CakePHP powered Content Management System (http://www.croogo.org) | ||
Copyright 2011, Fahad Ibnay Heylaal <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a | ||
copy of this software and associated documentation files (the "Software"), | ||
to deal in the Software without restriction, including without limitation | ||
the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
and/or sell copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
10 | ||
|
||
dir | ||
7 | ||
svn://creditosadphone.com.br/creditosadphone/rastreamentodepedido/trunk/app/PERSONALIZADO/config | ||
svn://creditosadphone.com.br/creditosadphone/rastreamentodepedido | ||
|
||
|
||
|
||
2010-11-18T12:07:14.049366Z | ||
5 | ||
rastreamentodepedido | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
aa0e83a5-ca41-43ef-90aa-59005b45e7ad | ||
|
||
croogo_routes.php | ||
file | ||
|
||
|
||
|
||
|
||
2010-11-06T02:08:10.968750Z | ||
ce3adf46be1648bce6a408110e208c97 | ||
2010-11-18T02:39:20.278914Z | ||
4 | ||
rastreamentodepedido | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
4516 | ||
|
||
settings.yml | ||
file | ||
|
||
|
||
|
||
|
||
2010-11-18T12:06:18.046875Z | ||
864f9f579f9eff57246635e5ea9b2ddd | ||
2010-11-18T12:07:14.049366Z | ||
5 | ||
rastreamentodepedido | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
985 | ||
|
||
database-local.php | ||
file | ||
|
||
|
||
|
||
|
||
2010-10-23T04:38:57.437500Z | ||
f86737cc271652fd71664c6e4034bd06 | ||
2010-11-18T02:39:20.278914Z | ||
4 | ||
rastreamentodepedido | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
3431 | ||
|
||
database.php | ||
file | ||
|
||
|
||
|
||
|
||
2010-10-28T19:42:15.312500Z | ||
cab2f9be4203ec3ab18e61b62273c10a | ||
2010-11-18T02:39:20.278914Z | ||
4 | ||
rastreamentodepedido | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
3781 | ||
|
106 changes: 106 additions & 0 deletions
106
app/PERSONALIZADO/config/.svn/text-base/croogo_routes.php.svn-base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?php | ||
CroogoRouter::plugins(); | ||
Router::parseExtensions('json', 'rss'); | ||
|
||
// Installer | ||
if (!file_exists(APP.'config'.DS.'settings.yml')) { | ||
CroogoRouter::connect('/', array('plugin' => 'install' ,'controller' => 'install')); | ||
} | ||
|
||
// Basic | ||
//CroogoRouter::connect('/', array('controller' => 'nodes', 'action' => 'principal')); | ||
|
||
CroogoRouter::connect('/', array('controller' => 'nodes', 'action' => 'promoted')); | ||
CroogoRouter::connect('/promoted/*', array('controller' => 'nodes', 'action' => 'promoted')); | ||
CroogoRouter::connect('/admin', array('admin' => true, 'controller' => 'settings', 'action' => 'dashboard')); | ||
CroogoRouter::connect('/search/*', array('controller' => 'nodes', 'action' => 'search')); | ||
|
||
// Blog | ||
CroogoRouter::connect('/blog', array('controller' => 'nodes', 'action' => 'index', 'type' => 'blog')); | ||
CroogoRouter::connect('/blog/archives/*', array('controller' => 'nodes', 'action' => 'index', 'type' => 'blog')); | ||
//CroogoRouter::connect('/blog/:slug', array('controller' => 'nodes', 'action' => 'view', 'type' => 'blog')); | ||
CroogoRouter::connect('/:slug', array('controller' => 'nodes', 'action' => 'view', 'type' => 'blog')); | ||
//CroogoRouter::connect('/blog/term/:slug/*', array('controller' => 'nodes', 'action' => 'term', 'type' => 'blog')); | ||
CroogoRouter::connect('/categoria/:slug/*', array('controller' => 'nodes', 'action' => 'term', 'type' => 'blog')); | ||
|
||
// Node | ||
CroogoRouter::connect('/node', array('controller' => 'nodes', 'action' => 'index', 'type' => 'node')); | ||
CroogoRouter::connect('/node/archives/*', array('controller' => 'nodes', 'action' => 'index', 'type' => 'node')); | ||
CroogoRouter::connect('/node/:slug', array('controller' => 'nodes', 'action' => 'view', 'type' => 'node')); | ||
CroogoRouter::connect('/node/term/:slug/*', array('controller' => 'nodes', 'action' => 'term', 'type' => 'node')); | ||
|
||
// Page | ||
CroogoRouter::connect('/about', array('controller' => 'nodes', 'action' => 'view', 'type' => 'page', 'slug' => 'about')); | ||
CroogoRouter::connect('/page/:slug', array('controller' => 'nodes', 'action' => 'view', 'type' => 'page')); | ||
|
||
// Users | ||
CroogoRouter::connect('/register', array('controller' => 'users', 'action' => 'add')); | ||
CroogoRouter::connect('/user/:username', array('controller' => 'users', 'action' => 'view'), array('pass' => array('username'))); | ||
|
||
// Contact | ||
CroogoRouter::connect('/contact', array('controller' => 'contacts', 'action' => 'view', 'contact')); | ||
CroogoRouter::connect('/contato', array('controller' => 'contacts', 'action' => 'view', 'contact')); | ||
|
||
|
||
|
||
|
||
CroogoRouter::connect('/conta-premium.html', array( 'controller' => 'nodes', 'action' => 'view', 'type' => 'node', 'slug' => 'conta-premium' ) ); | ||
CroogoRouter::connect('/conta-premium', array('controller' => 'nodes', 'action' => 'view', 'type' => 'node', 'slug' => 'conta-premium' ) ); | ||
|
||
|
||
|
||
/** | ||
* frete | ||
*/ | ||
CroogoRouter::connect('/calculo-frete/*', array( 'controller' => 'produtos', 'action' => 'frete' ) ); | ||
//CroogoRouter::connect('/frete/*', array( 'controller' => 'produtos', 'action' => 'frete' ) ); | ||
|
||
|
||
/** | ||
* Link demo calculo frete da estrutura | ||
* WordPress | ||
*/ | ||
CroogoRouter::connect('/calculo/frete.html', array( 'controller' => 'produtos', 'action' => 'frete' ) ); | ||
|
||
|
||
/** | ||
* Corrige links de versões antigas como a estrutura | ||
* WordPress | ||
*/ | ||
CroogoRouter::connect('/calcular-frete/*', array( 'controller' => 'urls', 'action' => 'url' ) ); | ||
|
||
// Botao calculo frete antigo | ||
CroogoRouter::connect('/frete/*', array( 'controller' => 'produtos', 'action' => 'frete' ) ); | ||
|
||
|
||
|
||
/** | ||
* BOTOES | ||
* no WordPress existia uma estrutura na raiz | ||
* onde havia o diretório botoes na raiz | ||
*/ | ||
CroogoRouter::connect( '/botoes/*', array( 'controller' => 'urls', 'action' => 'botoes' ) ); | ||
|
||
|
||
/** | ||
* Rastreamento | ||
* Corrige links de versões antigas como a estrutura | ||
* WordPress | ||
*/ | ||
//CroogoRouter::connect( '/rastreamento/rastrear-pedido.html', array( 'controller' => 'codigos', 'action' => 'add' ) ); | ||
|
||
|
||
|
||
|
||
/** | ||
* API Rest | ||
*/ | ||
//Router::mapResources( 'Produtos', array('prefix' => '/api/') ); | ||
Router::mapResources( 'Produtos' ); | ||
Router::mapResources( 'Codigos' ); | ||
Router::mapResources( 'Avisos' ); | ||
Router::parseExtensions( 'xml', 'html', 'pdf' ); | ||
|
||
|
||
|
||
?> |
Oops, something went wrong.