KodExplorer/plugins/picasa/app.php

17 lines
351 B
PHP
Raw Normal View History

2017-08-23 19:40:27 +00:00
<?php
class picasaPlugin extends PluginBase{
function __construct(){
parent::__construct();
}
public function regiest(){
$this->hookRegiest(array(
'user.commonJs.insert' => 'picasaPlugin.echoJs',
));
}
public function echoJs($st,$act){
if($this->isFileExtence($st,$act)){
$this->echoFile('static/main.js');
}
}
}