mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-21 04:13:47 +01:00
Repair loadOriginalAuthor() and migrate JKA Network name to Code Solutions Project
This commit is contained in:
@@ -65,7 +65,7 @@ class Config
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the company, usually "JKA Network"
|
||||
* Get the company, usually "Code Solutions Project"
|
||||
*
|
||||
* @return string whit company
|
||||
*/
|
||||
|
||||
@@ -69,7 +69,7 @@ class DB
|
||||
'IDC','?'
|
||||
))
|
||||
->setParameter(0,$IDC);
|
||||
return $this->getData($queryBuilder)[0];
|
||||
return $this->getData($queryBuilder)[0]['UserCreator'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ $app->get('/about', function (Request $request) use($app){
|
||||
$user = getUser($app);
|
||||
$page = array(
|
||||
"title" => "About CodeShare",
|
||||
"description" => "Developed by JKA Network's Team",
|
||||
"description" => "Developed by Code Solutions Project's Team",
|
||||
"page" => "about",
|
||||
);
|
||||
return $app['twig']->render($app['fronthtml'].'/about.twig', array("page" => $page,'user'=>$user));
|
||||
|
||||
Reference in New Issue
Block a user