Skip to content

Commit

Permalink
Make runnable under PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Petitjean committed Jan 31, 2024
1 parent 89519c9 commit a9c67cf
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion htdocs/application/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
|
*/
//$config['base_url'] = 'http://xmg_webgui';
$config['base_url'] = 'http://xmg.phil.hhu.de';
$config['base_url'] = 'https://xmg.phil.hhu.de';

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/home_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->

<script src="js/d3.v3.min.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions htdocs/application/views/resources_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Resources | XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->

<script src="js/d3.v3.min.js"></script> <!-- needed by script.js -->
<script src="xtag/js/script.js"></script> <!-- connects data and viewer -->
Expand Down Expand Up @@ -87,7 +87,7 @@
<li><a href="https://github.com/Bonhammer/depictive_grammar">Depictive grammar</a>: an LTAG grammar fragment with semantic frames for English depictives, by Benjamin Burkhardt.</li>
<li><a href="https://raw.githubusercontent.com/spetitjean/XMG-2/master/MetaGrammars/synframe/polysemy/al.mg">Al</a>: a description of derivational polysemy with the suffix -al on verbs of change of possession, by Marios Andreou and Simon Petitjean (see the article <a href="http://taln2017.cnrs.fr/wp-content/uploads/2017/06/actes_TALN_2017-vol2.pdf#page=106">here</a>).</li>
<li><a href="https://raw.githubusercontent.com/spetitjean/XMG-2/master/MetaGrammars/synframe/frame-constraints.mg">frame-constraints</a>: a set of frame constraints defining a type hierarchy for selected event types, by Laura Kallmeyer.</li>
<li><a href="https://gitlab.com/agata.savary/mwe-xmg/">FrenchTAG + MWE</a>: a FrenchTAG grammar updated with a number of Multi Word Expressions, by Agata Savary (<a href="http://xmg.phil.hhu.de/uploads/FrenchTAG+MWE.pdf">draft of an accompanying paper</a>)</li>
<li><a href="https://gitlab.com/agata.savary/mwe-xmg/">FrenchTAG + MWE</a>: a FrenchTAG grammar updated with a number of Multi Word Expressions, by Agata Savary (<a href="https://xmg.phil.hhu.de/uploads/FrenchTAG+MWE.pdf">draft of an accompanying paper</a>)</li>
</ul>
<br/>
<h4>Compiler lpframe - Morphological descriptions and frame semantics</h4>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/tulipa_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<base href="<?php echo base_url(); ?>" />

<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->



Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/tulipa_viewer_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->
<!-- <base href="http://localhost:3000"/>-->

<script src="../../js/d3.v3.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/upload_grammar_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<title>Metagrammar upload | XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->
<base href="<?php echo base_url(); ?>" />

<script src="js/d3.v3.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/upload_viewer_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Grammar upload | XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->

<script src="js/d3.v3.min.js"></script>
<script src="js/script.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/viewer_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->

<script src="js/d3.v3.min.js"></script>
<script src="js/script.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/workbench_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<title>Workbench | XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->
<base href="<?php echo base_url(); ?>" />

<script src="js/d3.v3.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/application/views/xtag_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>XTAG | XMG WebGUI</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<base href="<?php echo base_url(); ?>" />
<!-- <base href="http://xmg.phil.hhu.de/"/> -->
<!-- <base href="https://xmg.phil.hhu.de/"/> -->

<script src="js/d3.v3.min.js"></script> <!-- needed by script.js -->
<script src="xtag/js/script.js"></script> <!-- connects data and viewer -->
Expand Down
1 change: 1 addition & 0 deletions htdocs/system/core/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/general/controllers.html
*/
#[\AllowDynamicProperties]
class CI_Controller {

private static $instance;
Expand Down
1 change: 1 addition & 0 deletions htdocs/system/core/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/libraries/input.html
*/
#[\AllowDynamicProperties]
class CI_Input {

/**
Expand Down
1 change: 1 addition & 0 deletions htdocs/system/core/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @category Loader
* @link http://codeigniter.com/user_guide/libraries/loader.html
*/
#[\AllowDynamicProperties]
class CI_Loader {

// All these are set automatically. Don't mess with them.
Expand Down
1 change: 1 addition & 0 deletions htdocs/system/core/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @category Libraries
* @link http://codeigniter.com/user_guide/general/routing.html
*/
#[\AllowDynamicProperties]
class CI_Router {

/**
Expand Down
2 changes: 1 addition & 1 deletion htdocs/system/core/URI.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/libraries/uri.html
*/
#[\AllowDynamicProperties]
class CI_URI {

/**
* List of cached uri segments
*
Expand Down
10 changes: 0 additions & 10 deletions htdocs/tulipa/uploads/index.html

This file was deleted.

0 comments on commit a9c67cf

Please sign in to comment.