-
Notifications
You must be signed in to change notification settings - Fork 121
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
0 parents
commit 6922096
Showing
100 changed files
with
10,279 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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,7 @@ | ||
<?php | ||
|
||
/** | ||
* application.php - Write your custom code below. | ||
*/ | ||
|
||
?> |
Empty file.
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,104 @@ | ||
<?php defined('DS') or die('No direct script access.'); | ||
|
||
return array( | ||
|
||
/* | ||
* Edit this file in order to configure your application | ||
* settings or preferences. | ||
* | ||
*/ | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Theme textdomain | ||
/* --------------------------------------------------------------- */ | ||
'textdomain' => 'themosis', | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Global Javascript namespace of your application | ||
/* --------------------------------------------------------------- */ | ||
'namespace' => 'themosis', | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Set wordpress admin ajax file without the PHP extension | ||
/* --------------------------------------------------------------- */ | ||
'ajaxurl' => 'admin-ajax', | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Encoding | ||
/* --------------------------------------------------------------- */ | ||
'encoding' => 'UTF-8', | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Rewrite - If you want to modify default Wordpress paths. | ||
// If you change this parameter, you need to go to the 'Permalinks' | ||
// tab in the Wordpress admin and update the structure by saving | ||
// the changes. | ||
/* --------------------------------------------------------------- */ | ||
'rewrite' => false, | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Allow to define the path for the login page | ||
/* --------------------------------------------------------------- */ | ||
'loginurl' => 'login', | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Cleanup Header | ||
/* --------------------------------------------------------------- */ | ||
'cleanup' => true, | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Add custom htaccess settings. | ||
// The settings are a mix of Themosis parameters and HTML5 Boilerplate | ||
// htaccess settings. | ||
// Will overwrite your htacess settings each time | ||
// you go to the permalinks settings page in the admin. | ||
// If you edit your main .htaccess file and you want to avoid the | ||
// framework to overwrite your settings, set this to "false". | ||
/* --------------------------------------------------------------- */ | ||
'htaccess' => true, | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Restrict access to the Wordpress Admin for users with a | ||
// specific role. | ||
// Once the theme is activated, you can only log in by going | ||
// to 'wp-login.php' or 'login' (if permalinks changed) urls. | ||
// By default, allows 'administrator', 'editor', 'author', | ||
// 'contributor' and 'subscriber' to access the ADMIN area. | ||
// Edit this configuration in order to limit access. | ||
/* --------------------------------------------------------------- */ | ||
'access' => array( | ||
'administrator', | ||
'editor', | ||
'author', | ||
'contributor', | ||
'subscriber' | ||
), | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Application classes's alias | ||
/* --------------------------------------------------------------- */ | ||
'aliases' => array( | ||
'Themosis\\Ajax\\Ajax' => 'Ajax', | ||
'Themosis\\Asset\\Asset' => 'Asset', | ||
'Themosis\\Configuration\\Application' => 'Application', | ||
'Themosis\\Model\\BaseModel' => 'BaseModel', | ||
'Themosis\\Field\\Field' => 'Field', | ||
'Themosis\\Html\\Form' => 'Form', | ||
'Themosis\\Metabox\\Meta' => 'Meta', | ||
'Themosis\\Metabox\\Metabox' => 'Metabox', | ||
'Themosis\\Page\\Option' => 'Option', | ||
'Themosis\\Page\\Page' => 'Page', | ||
'Themosis\\PostType\\PostType' => 'PostType', | ||
'Themosis\\Route\\Route' => 'Route', | ||
'Themosis\\Session\\Session' => 'Session', | ||
'Themosis\\Taxonomy\\TaxField' => 'TaxField', | ||
'Themosis\\Taxonomy\\TaxMeta' => 'TaxMeta', | ||
'Themosis\\Taxonomy\\Taxonomy' => 'Taxonomy', | ||
'Themosis\\User\\User' => 'User', | ||
'Themosis\\View\\Loop' => 'Loop', | ||
'Themosis\\View\\View' => 'View' | ||
) | ||
|
||
); | ||
|
||
?> |
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,16 @@ | ||
<?php defined('DS') or die('No direct script access.'); | ||
|
||
return array( | ||
|
||
/* | ||
* Edit this file in order to configure your application's | ||
* constants. | ||
* | ||
* The key is the constant NAME (be sure to write it capitals) | ||
* and key's value is the constant VALUE. | ||
*/ | ||
'APPVERSION' => '1.0' | ||
|
||
); | ||
|
||
?> |
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,30 @@ | ||
<?php defined('DS') or die('No direct script access.'); | ||
|
||
return array( | ||
|
||
/* | ||
* Edit this file in order to configure your application | ||
* errors settings | ||
* | ||
*/ | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Display errors - Turn it 'off' for production | ||
/* --------------------------------------------------------------- */ | ||
'display' => false, | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Listen to PHP shutdown event and display last errors | ||
// Turn it "on" ONLY during development. | ||
/* --------------------------------------------------------------- */ | ||
'shutdown' => false, | ||
|
||
/* --------------------------------------------------------------- */ | ||
// Errors reporting - Use INT values only | ||
// 0 - Production | -1 - Development | ||
/* --------------------------------------------------------------- */ | ||
'report' => 0 | ||
|
||
); | ||
|
||
?> |
Empty file.
Empty file.
Empty file.
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,21 @@ | ||
{ | ||
"name": "themosis/themosis", | ||
"description": "The Themosis framework plugin.", | ||
"keywords": ["themosis", "framework", "wordpress"], | ||
"license": "GPL-2.0+", | ||
"authors":[ | ||
{ | ||
"name": "Julien Lambé", | ||
"email": "[email protected]", | ||
"homepage": "http://www.themosis.com/" | ||
} | ||
], | ||
"require": { | ||
"symfony/http-foundation": "2.4.2" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Themosis": "src/" | ||
} | ||
} | ||
} |
Oops, something went wrong.