Heim  >  Artikel  >  Backend-Entwicklung  >  smarty 怎么查看版本信息?

smarty 怎么查看版本信息?

WBOY
WBOYOriginal
2016-06-13 13:33:121205Durchsuche

smarty 如何查看版本信息??
如题,
网上搜了下没有说如何查看版本号信息

请熟悉的朋友说说
谢谢。。。

------解决方案--------------------
不知道 Smarty 是否提供了取得版本信息的函数
但在 Smarty.class.php 30行左右存在有 version ....


------解决方案--------------------

PHP code

class Smarty extends Smarty_Internal_Data {
    /**
    * constant definitions
    */
    // smarty version
    const SMARTY_VERSION = 'Smarty-3.0.7'; 
      //define variable scopes
    const SCOPE_LOCAL = 0; <div class="clear">
                 
              
              
        
            </div>
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn