Skip to content

Commit

Permalink
initial kickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
pniederlag committed Feb 20, 2020
0 parents commit e022f23
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
11 changes: 11 additions & 0 deletions Resources/Private/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>

# Apache >= 2.3
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "datenbetrieb/sqllog",
"type": "typo3-cms-extension",
"description": "A small extension that extends Database/Conneection with SQL-Logging",
"authors": [
{
"name": "Peter Niederlag",
"role": "Developer"
}
],
"require": {
"typo3/cms-core": "^9.5"
},
"autoload": {
"psr-4": {
"Datenbetrieb\\Sqllog\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"Datenbetrieb\\Sqllog\\Tests\\": "Tests"
}
},
"replace": {
"datenbetrieb/sqllog": "self.version",
"typo3-ter/sqllog": "self.version"
}
}
31 changes: 31 additions & 0 deletions ext_emconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/***************************************************************
* Extension Manager/Repository config file for ext: "sqllog"
*
* Auto generated by Extension Builder 2020-02-20
*
* Manual updates:
* Only the data in the array - anything else is removed by next write.
* "version" and "dependencies" must not be touched!
***************************************************************/

$EM_CONF[$_EXTKEY] = [
'title' => 'sqllog',
'description' => 'A small extension that extends Database/Conneection with SQL-Logging',
'category' => 'plugin',
'author' => 'Peter Niederlag',
'author_email' => '[email protected]',
'state' => 'alpha',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.0',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-9.5.99',
],
'conflicts' => [],
'suggests' => [],
],
];
11 changes: 11 additions & 0 deletions ext_tables.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
defined('TYPO3_MODE') || die('Access denied.');

call_user_func(
function()
{

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('sqllog', 'Configuration/TypoScript', 'sqllog');

}
);

0 comments on commit e022f23

Please sign in to comment.