mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
issue 2119. supporting php 5.4.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12682 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
005768c71e
commit
669c9a5948
14 changed files with 768 additions and 492 deletions
|
|
@ -1,16 +1,19 @@
|
|||
<?php
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
if(!defined('__XE__'))
|
||||
exit();
|
||||
|
||||
/**
|
||||
* @file autolink.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Automatic link add-on
|
||||
*/
|
||||
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC")
|
||||
if($called_position == 'after_module_proc' && Context::getResponseMethod() != "XMLRPC")
|
||||
{
|
||||
if(Mobile::isFromMobilePhone()) {
|
||||
Context::addJsFile('./common/js/jquery.min.js',false, '',-1000000);
|
||||
Context::addJsFile('./common/js/xe.min.js',false, '',-1000000);
|
||||
if(Mobile::isFromMobilePhone())
|
||||
{
|
||||
Context::addJsFile('./common/js/jquery.min.js', false, '', -1000000);
|
||||
Context::addJsFile('./common/js/xe.min.js', false, '', -1000000);
|
||||
}
|
||||
Context::loadFile(array('./addons/autolink/autolink.js', 'body', '', null), true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue