Fork me on GitHub

Rapport de message :*
 

Re: Accès page admin en https

Titre du sujet : Re: Accès page admin en https
par alain01 sur 10/03/2020 16:45:19

Cette variable n'est plus utilisée avec XOOPS 2.5.10
mais tu peux trouver l'info sur cette variable smarty (car c'est une variable smarty) ici :


/class/smarty/xoops_plugins/compiler.xoAppUrl.php

Citation :
/**
* Inserts the URL of an application page
*
* This plug-in allows you to generate a module location URL. It uses any URL rewriting
* mechanism and rules you'll have configured for the system.
*
* To ensure this can be as optimized as possible, it accepts 2 modes of operation:
*
* <b>Static address generation</b>:<br>
* This is the default mode and fastest mode. When used, the URL is generated during
* the template compilation, and statically written in the compiled template file.
* To use it, you just need to provide a location in a format XOOPS understands.
*
* <code>
* // Generate an URL using a physical path
* ([xoAppUrl modules/something/yourpage.php])
* // Generate an URL using a module+location identifier (2.3+)
* ([xoAppUrl mod_xoops_Identification#logout])
* </code>
*
* <b>Dynamic address generation</b>:<br>
* The is the slowest mode, and its use should be prevented unless necessary. Here,
* the URL is generated dynamically each time the template is displayed, thus allowing
* you to use the value of a template variable in the location string. To use it, you
* must surround your location with double-quotes ("), and use the
* {@link http://smarty.php.net/manual/en/language.syntax.quotes.php Smarty quoted strings}
* syntax to insert variables values.
*
* <code>
* // Use the value of the $sortby template variable in the URL
* ([xoAppUrl "modules/something/yourpage.php?order=`$sortby`"])
* </code>
* @param $argStr
* @param $compiler
* @return string
*/


On en revient à ce que je te dit,
tu souhaites mettre des rustines et ton travail n'est pas efficient car tu perds du temps avec une version obsolète , pas secure, et avec qui va te poser problèmes avec des versions récentes de PHP.

Sur ce, je te laisse bidouiller puisque le message ne passe pas.

Bien à toi,
j'aurai tout de même essayé de te convaincre...
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

43 Personne(s) en ligne (28 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 43 | Plus ...