Commit a28a4c88 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

switched to disabling cron job for log creation instead

parent 69d4e520
......@@ -1491,7 +1491,7 @@ class MetaGer
public static function getMGLogFile()
{
$logpath = storage_path("logs/metager/metager-neu/" . date("Y") . "/" . date("m") . "/");
$logpath = storage_path("logs/metager/" . date("Y") . "/" . date("m") . "/");
if (!file_exists($logpath)) {
mkdir($logpath, 0777, true);
}
......
......@@ -197,9 +197,9 @@ Route::get('plugin', function (Request $request) {
Route::group(['middleware' => ['auth.basic'], 'prefix' => 'admin'], function () {
Route::get('/', 'AdminInterface@index');
#Route::match(['get', 'post'], 'count', 'AdminInterface@count');
Route::match(['get', 'post'], 'count', 'AdminInterface@count');
Route::get('timings', 'MetaGerSearch@searchTimings');
#Route::get('count/graphtoday.svg', 'AdminInterface@countGraphToday');
Route::get('count/graphtoday.svg', 'AdminInterface@countGraphToday');
Route::get('engine/stats.json', 'AdminInterface@engineStats');
Route::get('check', 'AdminInterface@check');
Route::get('engines', 'AdminInterface@engines');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment