Updates for new PHP stuff
This commit is contained in:
parent
727c83ba90
commit
ce9570d6fb
|
@ -260,7 +260,7 @@ trait PostTagMethods
|
||||||
$pool = Pool::create(array('name' => $name, 'is_public' => false, 'user_id' => $this->updater_user_id));
|
$pool = Pool::create(array('name' => $name, 'is_public' => false, 'user_id' => $this->updater_user_id));
|
||||||
|
|
||||||
if (!$pool || !$pool->can_change(current_user(), null))
|
if (!$pool || !$pool->can_change(current_user(), null))
|
||||||
continue;
|
continue 2;
|
||||||
|
|
||||||
$pool->add_post($this->id, $options);
|
$pool->add_post($this->id, $options);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "myimouto/myimouto",
|
"name": "sequenzia/sequenzia",
|
||||||
"description": "Image board for PHP 5.4+ and MySQL",
|
"description": "Image board for PHP 5.4+ and MySQL",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -12,6 +12,8 @@
|
||||||
"railsphp/railsphp": "1.0.*",
|
"railsphp/railsphp": "1.0.*",
|
||||||
"railsphp/willpaginate": "1.0.*",
|
"railsphp/willpaginate": "1.0.*",
|
||||||
"railsphp/actsasversioned": "1.0.*",
|
"railsphp/actsasversioned": "1.0.*",
|
||||||
"michelf/php-markdown": "1.3.*"
|
"michelf/php-markdown": "1.9.*"
|
||||||
}
|
},
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,7 +14,7 @@ define('RAILS_ROOT', dirname(__DIR__));
|
||||||
/**
|
/**
|
||||||
* Path to Rails.
|
* Path to Rails.
|
||||||
*/
|
*/
|
||||||
$railsPath = __DIR__ . '/../vendor/railsphp/railsphp/lib/Rails';
|
$railsPath = dirname(__DIR__, 1) . '/vendor/railsphp/railsphp/lib/Rails';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load and initialize Rails.
|
* Load and initialize Rails.
|
||||||
|
@ -25,5 +25,5 @@ Rails::initialize();
|
||||||
/**
|
/**
|
||||||
* Load and initialize application.
|
* Load and initialize application.
|
||||||
*/
|
*/
|
||||||
require __DIR__ . '/application.php';
|
require dirname(__DIR__) . '/config/application.php';
|
||||||
MyImouto\Application::initialize();
|
MyImouto\Application::initialize();
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
require __DIR__ . '/../config/boot.php';
|
require dirname(__DIR__, 1) . '/config/boot.php';
|
||||||
MyImouto\Application::dispatchRequest();
|
MyImouto\Application::dispatchRequest();
|
||||||
|
|
Loading…
Reference in New Issue