Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Dec 8, 2016
1 parent 852a558 commit 8079e50
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can easily manipulate the content and the layout of your pages. No coding sk

* HTTP server ([Apache](http://httpd.apache.org/), [IIS](http://www.iis.net/downloads), [nginx](http://nginx.org/en/download.html), etc.)
* Database server
* PHP >= 5.4 or [HHVM](http://docs.hhvm.com/manual/en/install-intro.install.php). The following only apply to PHP as they're included in the HHVM core.
* PHP >= 5.6 or [HHVM](http://docs.hhvm.com/manual/en/install-intro.install.php). The following only apply to PHP as they're included in the HHVM core.
* `lib-xml` must be enabled (with DOM support)
* `GD` PHP extension
* `Mcrypt` PHP extension
Expand Down
1 change: 1 addition & 0 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use Illuminate\Routing\Router;

use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use \Route;

class RouteServiceProvider extends ServiceProvider {

Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
if(defined('LARAVEL_START')){
return;
}
if (version_compare(phpversion(), "5.4.0", "<=")) {
exit("Error: You must have PHP version 5.4 or greater to run Microweber");
if (version_compare(phpversion(), "5.6.0", "<=")) {
exit("Error: You must have PHP version 5.6 or greater to run Microweber");
}

if (!function_exists("mcrypt_encrypt")) {
Expand Down
2 changes: 1 addition & 1 deletion src/Microweber/Install/Schema/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function get()
'created_at' => 'dateTime',
'created_by' => 'integer',
'edited_by' => 'integer',
'rel_id' => 'integer',
'rel_id' => 'string',
'rel_type' => 'string',
'notif_count' => 'integer',
'is_read' => 'integer',
Expand Down
3 changes: 2 additions & 1 deletion src/Microweber/MicroweberServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function register()

$this->app->bind('Illuminate\Contracts\Bus\Dispatcher', 'Illuminate\Bus\Dispatcher');
$this->app->bind('Illuminate\Contracts\Queue\Queue', 'Illuminate\Contracts\Queue\Queue');

// $this->app->register('Illuminate\Auth\AuthServiceProvider');

// $this->app->singleton(
// 'Illuminate\Contracts\Debug\ExceptionHandler',
Expand Down Expand Up @@ -231,6 +231,7 @@ public function register()

$this->app->register('Conner\Tagging\Providers\TaggingServiceProvider');


// $this->app->register('SocialiteProviders\Manager\ServiceProvider');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Microweber/Utils/Captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function render($params = array())
imagecolordeallocate($image, $black);

imagedestroy($image);

$stuff = ob_get_clean();

return response($stuff)
Expand Down

0 comments on commit 8079e50

Please sign in to comment.