license, composer config

This commit is contained in:
Parziphal 2013-10-27 00:35:20 -05:00
parent 7fb4605b27
commit 3b8f3cf300
3 changed files with 37 additions and 1 deletions

19
LICENSE Executable file
View File

@ -0,0 +1,19 @@
Copyright (c) 2013 Pop|Parziphal|Asterix Vader
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.

View File

@ -1,9 +1,26 @@
{
"name": "myimouto/myimouto",
"description": "Image board for PHP 5.4+ and MySQL",
"license": "MIT",
"keywords": [
"myimouto",
"booru",
"image board"
],
"require": {
"php": ">=5.4.0",
"myimouto/railsphp": "v1.0.6",
"railsphp/willpaginate": "dev-master",
"michelf/php-markdown": "1.3.*"
},
"autoload": {
"psr-0": {
"ApplicationInstaller\\": "install/"
}
},
"scripts": {
"post-package-install": [
"ApplicationInstaller\\CompileAssets::compile"
]
}
}

View File

@ -14,7 +14,7 @@ define('RAILS_ROOT', dirname(__DIR__));
/**
* Path to Rails.
*/
$railsPath = __DIR__ . '/../vendor/railsphp/railsphp/lib/Rails';
$railsPath = __DIR__ . '/../vendor/myimouto/railsphp/lib/Rails';
/**
* Load and initialize Rails.