Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nutrapharm_producto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
nutrapharm_producto
Commits
421d4304
Commit
421d4304
authored
May 27, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actualizacion umusic - Bases
parent
ee6f0140
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
web/app.php
web/app.php
+8
-3
No files found.
web/app.php
View file @
421d4304
...
@@ -2,16 +2,21 @@
...
@@ -2,16 +2,21 @@
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\HttpFoundation\Request
;
require
__DIR__
.
'/../app/autoload.php'
;
/** @var \Composer\Autoload\ClassLoader $loader */
$loader
=
require
__DIR__
.
'/../app/autoload.php'
;
include_once
__DIR__
.
'/../app/bootstrap.php.cache'
;
include_once
__DIR__
.
'/../app/bootstrap.php.cache'
;
//$apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader);
//$loader->unregister();
//$apcLoader->register(true);
$kernel
=
new
AppKernel
(
'prod'
,
false
);
$kernel
=
new
AppKernel
(
'prod'
,
false
);
$kernel
->
loadClassCache
();
$kernel
->
loadClassCache
();
//
$kernel = new AppCache($kernel);
$kernel
=
new
AppCache
(
$kernel
);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
//Request::enableHttpMethodParameterOverride();
$request
=
Request
::
createFromGlobals
();
$request
=
Request
::
createFromGlobals
();
$response
=
$kernel
->
handle
(
$request
);
$response
=
$kernel
->
handle
(
$request
);
$response
->
send
();
$response
->
send
();
$kernel
->
terminate
(
$request
,
$response
);
$kernel
->
terminate
(
$request
,
$response
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment