Page Menu
Home
Mnkras Phabricator
Search
Configure Global Search
Log In
Paste
P1
concrete5 require
Active
Public
Actions
Authored by
Mnkras
on Dec 29 2014, 10:50 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
concrete5
Subscribers
None
public
function
on_start
()
{
$fs
=
new
\Illuminate\Filesystem\Filesystem
;
try
{
$fs
->
getRequire
(
__DIR__
.
'/vendor/autoload.php'
);
}
catch
(
\Illuminate\Filesystem\FileNotFoundException
$e
){
throw
new
\Exception
(
t
(
'You forgot to run composer :/'
));
}
}
Event Timeline
Mnkras
edited the content of this paste.
(Show Details)
Dec 29 2014, 10:50 PM
2014-12-29 22:50:45 (UTC-5)
Mnkras
changed the title of this paste from untitled to
concrete5 require
.
Mnkras
updated the paste's language from
autodetect
to
php
.
Mnkras
changed the visibility from "All Users" to "Public (No Login Required)".
Mnkras
added a project:
concrete5
.
Log In to Comment