Skip to content

Commit

Permalink
root commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gromovjm committed Dec 3, 2017
1 parent bbf7778 commit 4099cb2
Show file tree
Hide file tree
Showing 190 changed files with 55,870 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Created by .ignore support plugin (hsz.mobi)
### Example user template

# IntelliJ project files
.idea
#*.iml
#out
#gen
modules/

### Sass template
.sass-cache/
*.css.map

### Composer template
composer.phar
/vendor/*
!vendor/cilaster/

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
7 changes: 7 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# BEGIN Cilaster
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php [L]
</IfModule>
# END Cilaster
32 changes: 32 additions & 0 deletions Bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/**
* @Created in JM Organization.
* @Author: Magicmen
*
* @Date: 19.08.2017
* @Time: 20:07
*
* @documentation: Сгружаем сюда все подгружаемые Приложения.
*/

/**
* @documentation:
*/
$loader = require_once __DIR__.'/vendor/autoload.php';

/*use Doctrine\ORM\Tools\Setup;
use Doctrine\ORM\EntityManager;
$paths = array("/path/to/entity-files");
$isDevMode = false;
// the connection configuration
$dbParams = array(
'driver' => 'pdo_mysql',
'user' => 'root',
'password' => '',
'dbname' => 'foo',
);
$config = Setup::createAnnotationMetadataConfiguration($paths, $isDevMode);
$entityManager = EntityManager::create($dbParams, $config);*/
16 changes: 16 additions & 0 deletions admin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Created in JM Organization.
* Author: Magicmen
*
* Date: 02.12.2017
* Time: 16:20
*
* Documentation:
*/

require_once 'Bootstrap.php';

use Core\Cilaster;

Cilaster::adminPanelRun();
33 changes: 33 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "jm-organization/cilaster_cms",
"description": "PHP CMS for Web-sites",
"type": "metapackage",
"keywords": [
"engine",
"cilaster",
"cms",
"jm-organization"
],
"homepage": "http://www.jm-org.net/portfolio/cilaster",
"license": "Apache-2.0",
"require": {
"php": ">=5.6",
"doctrine/orm":"^2.5.9"
},
"autoload": {
"psr-0": {
"Doctrine\\ORM\\":"vendor/doctrine/orm/lib",
"Doctrine\\DBAL\\":"vendor/doctrine/dbal/lib",
"Doctrine\\Common\\Lexer\\":"vendor/doctrine/lexer/lib",
"Doctrine\\Common\\Inflector\\":"vendor/doctrine/inflector/lib",
"Doctrine\\Common\\Collections\\":"vendor/doctrine/collections/lib"
},
"psr-4": {
"Cilaster\\API\\": "vendor/cilaster/API/",
"Cilaster\\Core\\": "vendor/cilaster/Core/",
"Cilaster\\DB\\": "vendor/cilaster/DB/",
"Cilaster\\MVC\\": "vendor/cilaster/MVC/",
"Cilaster\\Rest\\": "vendor/cilaster/Rest/"
}
}
}
Loading

0 comments on commit 4099cb2

Please sign in to comment.