2012-07-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* ajax.php: If we are executing metaconsole define metaconsole constant. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ae54d12913
commit
fe254ffbfa
|
@ -1,3 +1,8 @@
|
|||
2012-07-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* ajax.php: If we are executing metaconsole define metaconsole
|
||||
constant.
|
||||
|
||||
2012-07-08 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
|
||||
|
|
|
@ -45,6 +45,10 @@ $config["id_user"] = $_SESSION["id_usuario"];
|
|||
$isFunctionSkins = enterprise_include_once ('include/functions_skins.php');
|
||||
if ($isFunctionSkins !== ENTERPRISE_NOT_HOOK)
|
||||
$config["relative_path"] = enterprise_hook('skins_set_image_skin_path',array($config['id_user']));
|
||||
|
||||
// Not cool way of know if we are executing from metaconsole or normal console
|
||||
if (strpos($_SERVER['HTTP_REFERER'], ENTERPRISE_DIR . '/meta/') !== false)
|
||||
define ('METACONSOLE', true);
|
||||
session_write_close ();
|
||||
if (file_exists ($page)) {
|
||||
require_once ($page);
|
||||
|
|
Loading…
Reference in New Issue