add quick scenario for mediapart home page
This commit is contained in:
parent
753180b7c7
commit
49950d948b
11
epub.php
11
epub.php
|
@ -7,6 +7,10 @@
|
||||||
<link rel="icon" type="image/png" href="1F4F0_color.png" /></head>
|
<link rel="icon" type="image/png" href="1F4F0_color.png" /></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
Quick link: <a href="epub.php?mp">All Mediapart home page with renewed authent</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require 'settings.php';
|
require 'settings.php';
|
||||||
|
@ -185,6 +189,13 @@
|
||||||
return json_decode($json);
|
return json_decode($json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// quick scenario
|
||||||
|
if (isset($_GET['mp']))
|
||||||
|
{
|
||||||
|
$_POST['forcempcookies'] = 1;
|
||||||
|
$_POST['mphome'] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
date_default_timezone_set('Europe/Paris');
|
date_default_timezone_set('Europe/Paris');
|
||||||
$today = (new DateTime('today'))->format('Ymd');
|
$today = (new DateTime('today'))->format('Ymd');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue