Moved the defining to the autoload.php file

This commit is contained in:
Graham Campbell
2015-11-04 17:39:16 +00:00
parent 3b7308dccd
commit b8fa1f0111
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -28,8 +28,6 @@ class AppServiceProvider extends ServiceProvider
return Dispatcher::simpleMapping($command, 'CachetHQ\Cachet', 'CachetHQ\Cachet\Handlers');
});
define('CACHET_VERSION', trim(file_get_contents($this->app->basePath().'/VERSION')));
Str::macro('canonicalize', function ($url) {
return preg_replace('/([^\/])$/', '$1/', $url);
});